“RTN”包不可用(R版本3.0.1)[复制]

时间:2021-10-04 13:29:05

This question already has an answer here:

这个问题已经有了答案:

I got this when I am trying to install package from bioconductor, but it seems it does not work properly. The manual of this package is here:

当我试图从生物导体中安装包裹时,我得到了这个,但它似乎不能正常工作。这个包裹的手册在这里:

http://www.bioconductor.org/packages/devel/bioc/manuals/RTN/man/RTN.pdf

http://www.bioconductor.org/packages/devel/bioc/manuals/RTN/man/RTN.pdf

The package name is RTN.

包名是RTN。

    biocLite("RTN")
    BioC_mirror: http://bioconductor.org Using Bioconductor version 2.12 (BiocInstaller
    1.10.4), R version 3.0.1.
    Installing package(s) 'RTN'
    Warning messages:
    1: package ‘RTN’ is not available (for R version 3.0.1) 
    2: installed directory not writable, cannot update
       packages 'class', 'foreign', 'lattice', 'MASS',
       'Matrix', 'mgcv', 'nlme', 'nnet', 'rpart',
       'spatial', 'survival' 
    > library(RTN)
    Error in library(RTN) : there is no package called ‘RTN’

1 个解决方案

#1


1  

Your version of Bioconductor (2.12) is too old for RTN, which was introduced (see the RTN landing page) in Bioconductor 2.13. I think you can say

你的生物导体的版本(2.12)太老了,不适合RTN,它在生物导体2.13中被引入(参见RTN的登录页)。我想你可以说。

 source("http://bioconductor.org/biocLite.R")
 biocLite("BiocUpgrade")

but (a) this might require that your R be updated and (b) it will likely update (re-install) any existing Bioconductor and perhaps some CRAN packages, so you should be prepared for a few bumps in the road.

但是(a)这可能要求更新你的R, (b)它可能会更新(重新安装)任何现有的生物导体,也许还有一些CRAN包,所以你应该为路上的一些磕碰做好准备。

#1


1  

Your version of Bioconductor (2.12) is too old for RTN, which was introduced (see the RTN landing page) in Bioconductor 2.13. I think you can say

你的生物导体的版本(2.12)太老了,不适合RTN,它在生物导体2.13中被引入(参见RTN的登录页)。我想你可以说。

 source("http://bioconductor.org/biocLite.R")
 biocLite("BiocUpgrade")

but (a) this might require that your R be updated and (b) it will likely update (re-install) any existing Bioconductor and perhaps some CRAN packages, so you should be prepared for a few bumps in the road.

但是(a)这可能要求更新你的R, (b)它可能会更新(重新安装)任何现有的生物导体,也许还有一些CRAN包,所以你应该为路上的一些磕碰做好准备。