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

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

最佳答案

安装R-3.0.2(不是RC)。
尝试按以下方式启动R:R --vanilla
看看您是否指向一个奇怪的镜子。 getOption("repos")的输出是什么?
试试这个:install.packages("BiocInstaller", repos="http://bioconductor.org/packages/2.13/bioc")

08-24 16:30