[英]R: Can't install certain packages
我注意到我無法安裝一堆軟件包。 它開始了,那時我正嘗試安裝克拉套件。 我會得到這個長錯誤。
ERROR: compilation failed for package ‘robustbase’
* removing ‘/Users/regiswengel/anaconda/lib/R/library/robustbase’
Warning in install.packages :
installation of package ‘robustbase’ had non-zero exit status
ERROR: dependency ‘robustbase’ is not available for package ‘ddalpha’
* removing ‘/Users/regiswengel/anaconda/lib/R/library/ddalpha’
Warning in install.packages :
installation of package ‘ddalpha’ had non-zero exit status
ERROR: dependency ‘ddalpha’ is not available for package ‘recipes’
* removing ‘/Users/regiswengel/anaconda/lib/R/library/recipes’
Warning in install.packages :
installation of package ‘recipes’ had non-zero exit status
ERROR: dependency ‘recipes’ is not available for package ‘caret’
* removing ‘/Users/regiswengel/anaconda/lib/R/library/caret’
Warning in install.packages :
installation of package ‘caret’ had non-zero exit status
事先單獨安裝依賴項'robustbase', 'ddalpha', 'recipes'
也不起作用。
我還注意到我無法更新軟件包
我目前正在使用R version 3.3.2
和RStudio Version 1.0.136
。 我已經使用R和RStudio幾個月了,從來沒有安裝軟件包的問題。 我在Google和Stack-overflow上做了很多搜索,找到了一些解決方案。 他們都沒有為我工作。
我的輸出中的錯誤是
gfortran -fPIC -I/Users/UserName/anaconda/include -L/Users/UserName/anaconda/lib -c eigen.f -o eigen.o
make: gfortran: No such file or directory
我發現此線程為我提供了所需的答案。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.