我想通过biocManager下载topGO。然后,我遇到了“ SparseM”软件包的编译失败的问题。我试图用brew升级gcc。但是,升级后,我无法安装任何软件包。
> 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
答案 0 :(得分:0)
在终端上执行brew upgrade
命令后,RStudio遇到了同样的问题。
我只需要重新启动RStudio,它就可以正常工作。