Installing RStudio Connect
These instructions describe how to install RStudio Connect on a Linux server.
Install a version of R on the server following the steps to Install R.
Our recommended installation instructions for R allow you to make multiple versions of R available and avoid replacing existing versions of R when updating system packages.
Download and install
RStudio offers a guided install option and a manual install option to download and install RStudio Connect. However, RStudio recommends using the guided installation option that works across all supported Linux distributions.
$ curl -LO https://rstudio-connect.s3.amazonaws.com/rsc-installer.sh $ bash ./rsc-installer.sh install
If you require help information, run:
$ bash ./rsc-installer.sh help<LICENSE-KEY>
Additionally, the Guided Installation section of the RStudio Connect Administration Guide offers additional information.
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-126.96.36.199-19.el.x86_64.rpm $ sudo yum install rstudio-connect-188.8.131.52-19.el.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-184.108.40.206-19.el8.x86_64.rpm $ sudo yum install rstudio-connect-220.127.116.11-19.el.x86_64.rpm
$ sudo apt-get install gdebi-core $ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect_18.104.22.168-19_amd64.deb $ sudo gdebi rstudio-connect_22.214.171.124-19_amd64.deb
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-126.96.36.199-19.sles12.x86_64.rpm $ sudo zypper install rstudio-connect-188.8.131.52-19.sles12.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-184.108.40.206-19.sles15.x86_64.rpm $ sudo zypper install rstudio-connect-220.127.116.11-19.sles15.x86_64.rpm
Run the following command to determine the status of your license and verify that your evaluation license is active:
$ sudo /opt/rstudio-connect/bin/license-manager status
Using online activation
If you already have a license key and your server is in an online environment, you can activate the license using the following command:
$ sudo /opt/rstudio-connect/bin/license-manager activate <LICENSE-KEY>
<LICENSE-KEY> is the license key that was provided to you.
Using offline activation
If your server is offline, you can use this app to activate your offline license. For more information about offline license activation, refer to the offline activation section of the RStudio Connect Administration Guide.
Using a floating license server
If you are using a floating licensing server, refer to the floating licenses section of the RStudio Connect Administration Guide.
More information on license activation
For more information on different options of activating your license, refer to the license management section of the RStudio Connect Administration Guide.
You can visit RStudio Connect in a browser at http://SERVER-ADDRESS:3939
SERVER-ADDRESS with the DNS name or IP address of the server.