[英]Error in R package installation "This version of R is not set up to install source packages"
我想通過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
在終端上執行brew upgrade
命令后,我在 RStudio 上遇到了同樣的問題。 我只需要重新啟動 RStudio 就可以了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.