gpt4 book ai didi

r - 没有名为 'BiocInstaller' 的包

转载 作者:行者123 更新时间:2023-12-04 09:31:20 24 4
gpt4 key购买 nike

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

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")
  • 关于r - 没有名为 'BiocInstaller' 的包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19701366/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com