美文网首页
R安装r包

R安装r包

作者: 纵春水东流 | 来源:发表于2020-03-16 14:36 被阅读0次

安装包

install.packages("package_name")

指定安装来源

install.packages("package_name", repo="http://cran.us.r-project.org")

安装Bioconductor的包

source('https://bioconductor.org/biocLite.R')
biocLite('BiocInstaller')
biocLite(c("RUVSeq","pcaMethods"))

安装Github的R包

install.packages("devtools")
devtools::install_github("JustinaZ/pcaReduce")

手动安装, 首先下载包的源文件(压缩版就可),然后在终端运行下面的命令。

ct@ehbio:~$ R CMD INSTALL package.tar.gz

相关文章

网友评论

      本文标题:R安装r包

      本文链接:https://www.haomeiwen.com/subject/urkalctx.html