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 1.8.2-10
Guided installation help
To view help information on the guided installer, run the following command:
$ bash ./rsc-installer.sh help
You can also refer to the Guided Installation section of the RStudio Connect Administration Guide.
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.8.2-10.el.x86_64.rpm $ sudo yum install rstudio-connect-1.8.2-10.el.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.8.2-10.el8.x86_64.rpm $ sudo yum install rstudio-connect-1.8.2-10.el8.x86_64.rpm
$ sudo apt-get install gdebi-core $ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect_1.8.2-10_amd64.deb $ sudo gdebi rstudio-connect_1.8.2-10_amd64.deb
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.8.2-10.sles12.x86_64.rpm $ sudo zypper install rstudio-connect-1.8.2-10.sles12.x86_64.rpm
$ curl -O https://s3.amazonaws.com/rstudio-connect/rstudio-connect-1.8.2-10.sles15.x86_64.rpm $ sudo zypper install rstudio-connect-1.8.2-10.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.