2.1 years ago by
Bioconductor packages are tightly associated with the R version. If you want to use an older version of any package, you have to use the correct version of R. Unfortunately, R is released yearly and Bioc is semi-annually, so you are asking for a version of AnnotationHub that corresponds to Bioc 3.3, which was the first version of Bioconductor for R-3.3.x. Simply installing R-3.3.0 and using
biocLite will get you AnnotationHub 2.6.4, as you have noted. So we have to be a bit tricky.
You can either uninstall BiocInstaller (using
remove.packages), or just install a clean version of R-3.3.0, and install BiocInstaller by hand (here I am using my Windows box. You need to point to the correct version of the package for your OS).
> install.packages("http://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/BiocInstaller_1.22.3.zip", repos=NULL)
trying URL 'http://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/BiocInstaller_1.22.3.zip'
Content type 'application/zip' length 119756 bytes (116 KB)
downloaded 116 KB
package ‘BiocInstaller’ successfully unpacked and MD5 sums checked
Bioconductor version 3.3 (BiocInstaller 1.22.3), ?biocLite for help
A newer version of Bioconductor is available for this version of R,
?BiocUpgrade for help
Using Bioconductor 3.3 (BiocInstaller 1.22.3), R 3.3.0 (2016-05-03).
Installing package(s) ‘AnnotationHub’
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/AnnotationHub_2.4.2.zip'