else
由于我肯定知道else
存在,因此如何获得这种“不可用”消息?我该如何解决?
答案 0 :(得分:2)
您需要上传旧版本的随机森林
https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages
您可以找到旧资源
https://cran.r-project.org/src/contrib/Archive/randomForest/
答案 1 :(得分:0)
https://cran.r-project.org/src/contrib/Archive/randomForest/
https://cran.r-project.org/src/contrib/Archive/randomForest/randomForest_4.6-12.tar.gz
urlPackage
的变量中urlPackage <- "https://cran.r-project.org/src/contrib/Archive/randomForest/randomForest_4.6-12.tar.gz"
install.packages
install.packages(urlPackage, repos=NULL, type="source")
希望这对您有用。保重。