美文网首页
Centos下安装RStudio

Centos下安装RStudio

作者: dming1024 | 来源:发表于2019-06-11 08:57 被阅读0次

    参考文章:
    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用户名,和密码

    相关文章

      网友评论

          本文标题:Centos下安装RStudio

          本文链接:https://www.haomeiwen.com/subject/lkxffctx.html