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