没有名为'BiocInstaller'的包

时间:2013-10-31 08:18:01

标签: r rstudio bioconductor

每当我尝试安装新软件包时,我都会收到此错误:

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  

1 个答案:

答案 0 :(得分:7)

  • 安装R-3.0.2(不是RC)。
  • 尝试按如下方式启动R:

    R --vanilla

  • 看看你是否指向一个奇怪的镜子。什么是

    的输出

    getOption( “重新定位”)

  • 试试这个:

    install.packages(“BiocInstaller”,repos =“http://bioconductor.org/packages/2.13/bioc”)