Rstudio-server更改R版本

1. rsession-which-r

 https://docs.rstudio.com/ide/server-pro/r-sessions.html

rsession-which-r=/usr/local/bin/R

  更改R的位置

2.多版本R的安装

 https://docs.rstudio.com/resources/install-r/

3.重启

https://www.jianshu.com/p/20cbecc83408,一定要有sudo

sudo rstudio-server restart             #重启RStudio-server

刷新8787链接,查看R的版本:

 

已经升级了。

4.更改

http://xuzhougeng.top/archives/Using-different-R-version-in-RStudion-linux-macOS

posted @ 2020-07-20 21:48  lypbendlf  阅读(3591)  评论(0编辑  收藏  举报