Rtools安装,Bioconductor安装,devtools安装,R包本地安装,Rstudio更换镜像
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
已经安装了Rtools,报错。发现R与Rtools要匹配
。
Bioconductor
版本对照:
报错, unable to access index for repository https://cran.rstudio.com/src/contrib:
镜像外网无法访问
R包本地安装
https://cran.rstudio.com/src/contrib/BiocManager_1.30.16.tar.gz
1.
2.
code:
install.packages(“C:/Users/Administrator/Desktop/BiocManager_1.30.16.tar.gz”,repos = NULL, type = “source”)
install.packages("C:/Users/Administrator/Desktop/devtools_2.4.2.tar.gz", repos = NULL, type = "source")
ERROR: dependencies ‘usethis’, ‘callr’, ‘cli’, ‘desc’, ‘ellipsis’,
‘fs’, ‘httr’, ‘lifecycle’, ‘memoise’, ‘pkgbuild’, ‘pkgload’,
‘rcmdcheck’, ‘remotes’, ‘rlang’, ‘roxygen2’, ‘rstudioapi’,
‘rversions’, ‘sessioninfo’, ‘testthat’, ‘withr’ are not available for
package ‘devtools’
options(repos=“http://mirrors.ustc.edu.cn/bioc/”)还是失败
Rstudio更换镜像
Tools–>Global options->Package->Change->Ok->Apply->OK
更多推荐
所有评论(0)