R语言安装多个版本,RTools和多版本Rstudio管理
如何安装和管理R的多个版本
首先如果是需要最新的R版本的话,可以从清华镜像下载(速度也快)
https://mirrors.tuna.tsinghua.edu.cn/CRAN/
若需要旧版本,则可以从这下载
https://cran.r-project.org/bin/windows/base/old/
那么如何进行管理呢,
第一步,点击菜单栏的 tools,然后点击 global option
第二步,点击 change
第三步,选择想要运行的R版本,并保存应用, 重启
警告信息:
1: In missing_devel_warning(pkgdir) :
Package reticulate has compiled code, but no suitable compiler(s) were found. Installation will likely fail.
Install Rtools (https://cran.r-project.org/bin/windows/Rtools/).Then use the pkgbuild package, or make sure that Rtools in the PATH.
2: In i.p(...) :
安装程序包‘C:/Users/ADMINI~1/AppData/Local/Temp/Rtmpigfzkm/file4ee86ae7114/reticulate_1.39.0.9000.tar.gz’时退出狀態的值不是0
安装 Rtools
下载
https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/Rtools/
安装
设置Path
Install Rtools (https://cran.r-project.org/bin/windows/Rtools/).Then use the pkgbuild package, or make sure that Rtools in the PATH.
重启Rsutdio
参考博客:https://blog.csdn.net/ChenQihome9/article/details/81949965