【问题标题】:How to find out which R version a package require.如何找出一个包需要哪个 R 版本。
【发布时间】:2015-09-01 13:02:10
【问题描述】:

我尝试安装使用 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 错误?

【问题讨论】:

  • 通常它在“Depends R (>= version)”下声明如下:bioconductor.org/packages/release/bioc/html/cn.mops.html 奇怪的是,chipseqDB 似乎没有这样的页面(我收到一条错误消息)。最好你应该联系包的维护者。
  • 我觉得你的代码中有几个“\u”很奇怪,你的编码有问题吗?

标签: r bioconductor


【解决方案1】:

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

操作系统类型:windows

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

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

【讨论】:

    【解决方案2】:

    这正在工作。早些时候在 Bioconductor 网站上出现了问题。再试一次。

    【讨论】:

      猜你喜欢
      • 2012-05-25
      • 2014-09-27
      • 2017-08-14
      • 2023-02-01
      • 2020-11-15
      • 2011-01-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多