繁体   English   中英

如何找出软件包需要哪个R版本。

[英]How to find out which R version a package require.

我试图安装使用Bioconductor(R):3.1(3.2.1)构建的软件包 但是,出现以下错误:

Bioconductor version 3.1 (BiocInstaller 1.18.4), ?biocLite for help
* DONE (BiocInstaller)

The downloaded source packages are in
    \u2018/tmp/Rtmp6YGmfv/downloaded_packages\u2019
Bioconductor version 3.1 (BiocInstaller 1.18.4), ?biocLite for help
> workflowInstall("chipseqDB")
Installing package into \u2018/home/lorencm/R/x86_64-redhat-linux-gnu-library/3.2\u2019
(as \u2018lib\u2019 is unspecified)
Warning message:
package \u2018chipseqDB\u2019 is not available (for R version 3.2.1)

接下来,我无法使用以下命令更新R:

> install.packages("installr") # install
Installing package into \u2018/home/lorencm/R/x86_64-redhat-linux-gnu-library/3.2\u2019
(as \u2018lib\u2019 is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning message:
package \u2018installr\u2019 is not available (for R version 3.2.1) 
> 

如何找出软件包需要哪个R版本或lib PATH错误?

软件包installr程序仅适用于Windows。 您正在使用Linux OS。

看到

OS_type:Windows

https://cran.r-project.org/web/packages/installr/index.html

要在您的redhat系统上更新R版本,请参阅https://cran.r-project.org/上的安装说明。

现在正在工作。 之前在Bioconductor网站上有问题。 再试一遍。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM