我使用apt get來安裝它,現在它說3.2.2 - 這是一個違規的版本。我如何降級到3.1.1?如何在Ubuntu上將R版本3.2.2降級到版本3.1.1
更新:
install.packages(c("batch", "bitops", "boot", "caTools", "data.table", "doMC", "doSNOW", "ggplot2", "glmnet", "lda", "Matrix", "matrixStats", "moments", "plotrix", "psych", "reshape", "topicmodels", "wordcloud", "methods"), dependencies=TRUE)
Warning messages:
1: package ‘methods’ is not available (for R version 3.2.2)
2: In install.packages(c("boot", "caTools", "data.table", "doMC", "doSNOW", :
installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(c("boot", "caTools", "data.table", "doMC", "doSNOW", :
installation of package ‘curl’ had non-zero exit status
4: In install.packages(c("boot", "caTools", "data.table", "doMC", "doSNOW", :
installation of package ‘XML’ had non-zero exit status
5: In install.packages(c("boot", "caTools", "data.table", "doMC", "doSNOW", :
installation of package ‘OAIHarvester’ had non-zero exit status
6: In install.packages(c("boot", "caTools", "data.table", "doMC", "doSNOW", :
installation of package ‘topicmodels’ had non-zero exit status
如何降級?
http://askubuntu.com/questions/435232/install-older-version-of-software-and-dependencies – RHertel
「已知問題:package'methods'不適用於R 3.2.1版,在這種情況下,請將R降級到版本3.1.1」 - 我現在從頭開始全新安裝R。 – user5331677
但'方法'是一個默認包,隨R安裝而來。 – 2015-10-07 06:14:54