Skip to content

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 from Source.

We recommend installing R independent of your system package manager to be able to make multiple versions of R available and to avoid removing 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.6-6.el.x86_64.rpm
$ sudo yum install rstudio-connect-1.7.6-6.el.x86_64.rpm
$ sudo apt-get install gdebi-core
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect_1.7.6-6_amd64.deb
$ sudo gdebi rstudio-connect_1.7.6-6_amd64.deb
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.7.6-6.sles12.x86_64.rpm
$ sudo zypper install rstudio-connect-1.7.6-6.sles12.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.7.6-6.sles15.x86_64.rpm
$ sudo zypper install rstudio-connect-1.7.6-6.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

If you already have a license key, activate the license using:

Terminal

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

where <LICENSE-KEY> is the license key that was provided to you.

If your server is offline or if you need to use a different license activation process, refer to the licensing 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.