Installing RStudio Connect

These instructions describe how to install RStudio Connect on a Linux server.

Install R

Install a version of R on the server following the steps to Install R.

Info

Our recommended installation instuctions 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

Download and install RStudio Connect:

$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.7.8-7.el.x86_64.rpm
$ sudo yum install rstudio-connect-1.7.8-7.el.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.7.8-7.el8.x86_64.rpm
$ sudo yum install rstudio-connect-1.7.8-7.el.x86_64.rpm
$ sudo apt-get install gdebi-core
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect_1.7.8-7_amd64.deb
$ sudo gdebi rstudio-connect_1.7.8-7_amd64.deb
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.7.8-7.sles12.x86_64.rpm
$ sudo zypper install rstudio-connect-1.7.8-7.sles12.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.7.8-7.sles15.x86_64.rpm
$ sudo zypper install rstudio-connect-1.7.8-7.sles15.x86_64.rpm

Activate license

Run the following command to determine the status of your license and verify that your evaluation license is active:

Terminal

$ 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:

Terminal

$ sudo /opt/rstudio-connect/bin/license-manager activate <LICENSE-KEY>

where <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.

Verify installation

You can visit RStudio Connect in a browser at http://SERVER-ADDRESS:3939 and replacing SERVER-ADDRESS with the DNS name or IP address of the server.