package ‘RTN’ is not available (for R version 3.0.1) [duplicate]

亡梦爱人 提交于 2019-12-11 17:55:08

问题


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

The package name is 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:


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

 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.



来源:https://stackoverflow.com/questions/22057428/package-rtn-is-not-available-for-r-version-3-0-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!