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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM