RStudio environments (RStudio Server with R 3.6)

You can launch RStudio only in an RStudio environment. This can be the default RStudio environment that is included with the RStudio Server with R 3.6 service, or an RStudio environment that you created.

Default environment templates

Watson Studio offers a default RStudio environment template that you can use to quickly get started in RStudio without having to create your own RStudio environment templates. The included environment template is listed under Templates on the Environments page on the Manage tab of your project.

Name Hardware configuration Software version Note
Default RStudio 1 vCPU and 2 GB RAM R 3.6 2 GB RAM is provided if you are running Cloud Pak for Data 4.5.1 and later.
Default RStudio 1 vCPU and 1 GB RAM R 3.6 1 GB RAM is provided if you are running Cloud Pak for Data 4.5.0.

If you don't create your own RStudio environment template, Default RStudio is taken by default.

Restriction: The default CPU and memory settings for the RStudio instance are set by the environment templates. The maximum amount of CPU and RAM compute resources available to the active RStudio session is constrained only by the Kubernetes resource quota assigned to the cluster namespace (if a quota was assigned by the administrator) and the compute nodes' physical resource capacity.

If you don't create your own RStudio environment template, Default RStudio is taken by default.

Changing the RStudio runtime

If you notice that processing is very slow, you can create an environment template for a larger runtime and then restart RStudio in the larger runtime.

To change the RStudio environment runtime:

  1. Save any data from your current session before switching to another environment.
  2. Stop the active RStudio runtime under Tool runtimes on the Environments page on the Manage tab of your project.
  3. Restart RStudio from the Launch IDE menu on your project's action bar and select the environment with the compute power and memory capacity that better meets your data processing requirements.

Runtime scope

An RStudio environment runtime is always scoped to a project and a user. Each user can only have one RStudio runtime per project at one time. If you start RStudio in a project in which you already have an active RStudio session, the existing active session is disconnected and you can continue working in the new RStudio session.

After you start RStudio, the runtime that becomes active for your session is listed under Tool runtimes on the Environments page on the Manage tab of your project. You can stop the runtime from this page.

Learn more

Parent topic: Environments