Is it possible to install previous versions of the packages instead of the newest ones?
2
0
Entering edit mode
lech • 0
@lech-11073
Last seen 7.8 years ago

Dear All,

I'm new to R and bioconductor. I cannot install some package, as they seem to be incompatible with the version of R I'm using (see below). I can't have the R updated at the moment. Is it possible to install older version of the packages instead, to avoid the problem?

http://imgur.com/KuTz6Fw

Thanks for any suggestions,

Best wishes,

Lech

 

bioconductor • 3.8k views
ADD COMMENT
0
Entering edit mode
@herve-pages-1542
Last seen 1 day ago
Seattle, WA, United States

Hi,

You should always use biocLite() to install Bioconductor packages. If you use an old version of R (e.g. R 3.2), it will install packages from the old version of Bioconductor that matches your version of R (e.g. BioC 3.2 matches R 3.2).

H.

ADD COMMENT
0
Entering edit mode
lech • 0
@lech-11073
Last seen 7.8 years ago

Hi, many thanks for a patient explanation, that makes a lot of sense. However it does not explain another issue, which I thought was related. Please see errors depicted in the attached screenshot which followed biocLite("DESeq2").

http://imgur.com/NYNJR4a

Cheers,

Lech

ADD COMMENT
0
Entering edit mode

I should have been more precise: biocLite() takes care of picking the right versions of Bioconductor packages for you. But it cannot do this for CRAN packages. For CRAN packages it always picks up the current version. RcppArmadillo is a CRAN package so biocLite() tries to install the version that is currently available on CRAN (0.7.100.3.1). You're getting a compilation error during the installation of this package (the error message is pretty explicit but I can't copy/paste it here from your screenshot, please don't use screenshots when you can just copy/paste your session in your post).

If you need help with installing the RcppArmadillo package, you can ask on the R-help mailing list (R-help@r-project.org). See also this page for other ways to report issues or ask questions about the package:

https://cran.r-project.org/web/packages/RcppArmadillo/index.html

But maybe the easiest way for you is to install the version that is known to be compatible with BioC 3.2. You can see this version here:

https://bioconductor.org/checkResults/3.2/bioc-20160423/zin1-R-instpkgs.html

(version 0.6.700.3.0)

This version is available in the RcppArmadillo archive here:

 https://cran.r-project.org/src/contrib/Archive/RcppArmadillo/

Getting a working Bioc 3.2 installation can be time consuming :-/

You really need to ask yourself whether you want to spend your time trying to do this or if you want to update to R 3.3 / BioC 3.3. Installing R 3.3 on a Linux machine is *very* easy.

Hope this helps,

H.

ADD REPLY

Login before adding your answer.

Traffic: 895 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6