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

时间:2015-09-01 13:02:11

标签: r bioconductor

我尝试安装使用Bioconductor(R):3.1(3.2.1)构建的this package。但是,我收到以下错误:

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错误?

2 个答案:

答案 0 :(得分:2)

installr仅适用于Windows。 您使用的是Linux操作系统。

  

OS_type:windows

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

要更新redhat系统上的R版本,请参阅https://cran.r-project.org/

上的安装说明

答案 1 :(得分:0)

现在正在运作。早先在Bioconductor网站上出现了问题。再试一次。