Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

there is no package called 'BiocInstaller'

Whenever I try to install a new package I'm getting this error:

source("http://bioconductor.org/biocLite.R")  
Warning in install.packages :  
  package ‘BiocInstaller’ is not available (for R version 3.0.2 RC)  
Installing package into ‘/home/hd-master/R/x86_64-unknown-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)  
trying URL 'http://www.bioconductor.org/packages/2.13/bioc/src/contrib/BiocInstaller_1.12.0.tar.gz'  
Content type 'application/x-gzip' length 13509 bytes (13 Kb)  
opened URL  
==================================================  
downloaded 13 Kb  

Error in library(BiocInstaller) :   
  there is no package called 'BiocInstaller'  
Execution halted  
like image 635
on_the_shores_of_linux_sea Avatar asked Oct 31 '13 08:10

on_the_shores_of_linux_sea


1 Answers

  • Install R-3.0.2 (not RC).
  • Try starting R as follows: R --vanilla
  • See if you are pointing to a weird mirror. What is the output of getOption("repos")?
  • Try this: install.packages("BiocInstaller", repos="http://bioconductor.org/packages/2.13/bioc")
like image 101
Dan Tenenbaum Avatar answered Oct 13 '22 01:10

Dan Tenenbaum