8

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

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  
4

1 回答 1

9
  • 安装 R-3.0.2(不是 RC)。
  • 尝试按如下方式启动 R:R --vanilla
  • 看看你是不是指着一面奇怪的镜子。的输出是getOption("repos")什么?
  • 尝试这个:install.packages("BiocInstaller", repos="http://bioconductor.org/packages/2.13/bioc")
于 2013-11-01T00:11:04.900 回答