软件包"RTN"不可用(对于R版本3.0.1) [英] package ‘RTN’ is not available (for R version 3.0.1)
问题描述
当我尝试从bioconductor安装软件包时收到了此消息,但似乎无法正常工作.该软件包的手册在这里:
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/包/devel/bioc/manuals/RTN/man/RTN.pdf
程序包名称为RTN.
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’
推荐答案
您的Bioconductor版本(2.12)对于RTN来说太旧了,因此已被引入(请参见
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")
,但是(a)这可能需要更新您的R,并且(b)可能会更新(重新安装)任何现有的Bioconductor以及某些CRAN软件包,因此您应该为遇到的一些困难做好准备.
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.
这篇关于软件包"RTN"不可用(对于R版本3.0.1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!