0
我注意到我無法安裝一堆軟件包。它開始,然後我試圖安裝包克拉。我會得到這個很長的錯誤。R:無法安裝某些軟件包
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’
也不起作用。
我也注意到,我無法更新包
- 集羣
- glmnet
- 映射
- PKI
- 一堆人
我的目前使用R version 3.3.2
和RStudio Version 1.0.136
。我一直在使用R和RStudio幾個月,並且從未遇到安裝軟件包的問題。我在Google和Stack-overflow上進行了大量搜索,並找到了一些解決方案。他們都沒有爲我工作。
你可以嘗試添加'依賴= TRUE'到'install.packages' – emilliman5
你選擇什麼樣的鏡子,當你運行'install.packages()'?也許嘗試一個不同的。運行'chooseCRANmirror()'更改默認值。 – MrFlick
嘗試添加'dependencies = TRUE'。我已經嘗試過'0-Cloud','Canada(MB)'和'USA(CA 1)'。 – Regis