When RStudio Package Manager is first installed on a system it operates in an evaluation mode for a period of time and then subsequently requires activation for continued use.
To determine the current license status of your system, you can use the following command:
sudo /opt/rstudio-pm/bin/license-manager status
After purchasing a license to RStudio Package Manager, you will receive a product key that is used to activate the license on a given system.
You can activate your license key with the command:
sudo opt/rstudio-pm/bin/license-manager activate <product-key>
After activation, restart the RStudio Package Manager server.
sudo stop rstudio-pm sudo start rstudio-pm
Your platform may need alternate commands to restart RStudio Package Manager. Please see Section 3.1 for instructions specific to your operating system version.
If you want to move your license of RStudio Package Manager to another system, you should first deactivate it on the old system.
sudo /opt/rstudio-pm/bin/license-manager deactivate
4.1 Proxy Servers
If your server is behind an internet proxy, you may need to add an additional
command line flag indicating the address and credentials required to
communicate through the proxy. This may not be necessary if either the
all_proxy environment variable is defined (these are read
and used by the license manager when available).
If you do need to specify a proxy server explicitly you can do so using the
--proxy command line parameter. For example:
sudo /opt/rstudio-pm/bin/license-manager \ --proxy=http://127.0.0.1/ activate <product-key>
Proxy settings can include a host-name, port, and username/password if necessary. The following are all valid proxy configurations:
http://127.0.0.1/ http://127.0.0.1:8080/ http://user:firstname.lastname@example.org:8080/
If the port is not specified, the license manager will default to using port
4.2 Offline Activation
If your system has no connection to the internet it’s also possible to perform an offline activation. To do this, we recommend using our offline activation app which will walk you through the process: RStudio Offline Activation
You first generate an offline activation request as follows:
sudo /opt/rstudio-pm/bin/license-manager activate-offline-request <product-key>
Executing this command will print an offline activation request to the terminal which you should copy and paste into an email to RStudio customer support (email@example.com). You will receive a reply with a file attachment that can be used to activate offline as follows:
sudo /opt/rstudio-pm/bin/license-manager activate-offline <activation-file>
After activation, restart the RStudio Package Manager server. Please see Section 3.1 for instructions specific to your operating system version.
If you want to renew your license of RStudio Package Manager or move it to another system you can also perform license deactivation offline. You can do this as follows:
sudo /opt/rstudio-pm/bin/license-manager deactivate-offline
Executing this command will print an offline deactivation request to the terminal which you should send to firstname.lastname@example.org.
You can also perform an offline check of your current license status using the following command:
sudo /opt/rstudio-pm/bin/license-manager status-offline
4.3 Licensing errors
RStudio Package Manager uses the
license-manager to determine if a valid license is
available. Should an error occur when interacting with the license manager,
RStudio Package Manager indicates that problem in the
The license manager sends details about the error to the system messages
(syslog). You should consult both locations should RStudio Package Manager be unable to
obtain license status.