[英]Error in R package installation "This version of R is not set up to install source packages"
I want to download topGO by biocManager.我想通过biocManager下载topGO。 Then I was faced with compilation failed for package 'SparseM'.
然后我遇到了包“SparseM”编译失败的问题。 I tried to upgrade gcc with brew.
我试图用 brew 升级 gcc。 However, after upgrade, I can not install any packages.
但是,升级后,我无法安装任何软件包。
> install.packages("shiny")
Installing package into ‘/usr/local/lib/R/3.5/site-library’
(as ‘lib’ is unspecified)
Error in install.packages : This version of R is not set up to install source packages
If it was installed from an RPM, you may need the R-devel RPM
Warning message:
In .rs.normalizePath(libPaths) :
path[2]="/usr/local/Cellar/r/3.5.1/lib/R/library": No such file or directory
I faced the same issue with RStudio after a brew upgrade
command on a terminal.在终端上执行
brew upgrade
命令后,我在 RStudio 上遇到了同样的问题。 I simply had to restart RStudio and it worked fine.我只需要重新启动 RStudio 就可以了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.