Centos Rstudio sever

Prerequisites

RStudio Server v1.1 requires RedHat or CentOS version 6 (or higher) as well as an installation of R. You can install R for RedHat and CentOS using the instructions on CRAN: https://cran.rstudio.com/bin/linux/redhat/README.

RedHat/CentOS 6 and 7

To download and install RStudio Server open a terminal window and execute the commands corresponding to the 32 or 64-bit version as appropriate.

64bit
Size: 46.9 MB MD5: da696c9823eb1c044f04adf75f722b64 Version: 1.2.1335 Released: 2019-04-08

$ wget https://download2.rstudio.org/server/centos6/x86_64/rstudio-server-rhel-1.2.1335-x86_64.rpm
$ sudo yum install server/centos6/x86_64/rstudio-server-rhel-1.2.1335-x86_64.rpm

然后安装## r2spec

Name: R2spec
Author: Pierre-Yves Chibon

R2spec generates RPMs spec file for R libraries according to the R guidelines of Fedora available at http://fedoraproject.org/wiki/Packaging/R.
It creates the spec file from an input which could be either a source file (*.tar.gz) or a url (http://*.tar.gz).
#解压
su -c'rpm -ivh R2spec-*.rpm'
su -c'yum install rpm-build'

####################
####成功

你可能感兴趣的:(Centos Rstudio sever)