Centos下安装RStudio

2019-06-11  本文已影响0人  dming1024

参考文章:
https://www.rstudio.com/products/rstudio/download-server/
https://support.rstudio.com/hc/en-us/articles/200552306-Getting-Started

  1. 安装R
yum install R

安装完成后,输入R,如下,表示安装成功

R version 3.5.2 (2018-12-20) -- "Eggshell Igloo"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
  1. 安装R server
    查看R server的最新版本https://www.rstudio.com/products/rstudio/download-server/
#下载
wget https://download2.rstudio.org/server/centos6/x86_64/rstudio-server-rhel-1.2.1335-x86_64.rpm
#安装
sudo yum install rstudio-server-rhel-1.2.1335-x86_64.rpm

3.登录RStudio
打开浏览器输入:
http://<your-server-ip>:8787
root账号无法登录,需要输入普通user用户名,和密码

上一篇下一篇

猜你喜欢

热点阅读