2
我已經完美的R工作,直到我決定升級到3.4。現在我無法安裝軟件包。R升級到3.4安裝包
在安裝包我得到一個錯誤
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages("ggplot2") :
'lib = "/usr/local/lib/R/site-library"' is not writable
Would you like to use a personal library instead? (y/n)
如果我打是的,我得到
Would you like to create a personal library
NA
to install packages into? (y/n)
此時它繼續給這個錯誤
Error in install.packages("quantstrat") : unable to create ‘NA’
設置'.libPaths()'到你有寫權限的目錄。 – alistaire
您可以在/ etc/R/Renviron中取消註釋R_LIBS_USER或(設置新路徑) – user20650
這有效。謝謝! – kbk78