root账号安装:
wget https://download2.rstudio.org/server/centos6/x86_64/rstudio-server-rhel-1.3.1093-x86_64.rpm
yum install rstudio-server-rhel-1.3.1093-x86_64.rpm
启动R 服务:
rstudio-server start #启动RStudio
rstudio-server status #查看RStudio状态
设置使用的R版本:
vi /etc/rstudio/rserver.conf
#设置内容如下:
# Server Configuration File
rsession-which-r=/share/work/biosoft/R/R-v4.0.3/bin/R
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!