RStudio environments

When you launch RStudio in an IBM Watson Studio project, you can select the RStudio environment runtime in which to launch RStudio by size. Choose the CPU and RAM size dependent on our data volume and the processing algorithms you use.

Watson Studio offers the following preset RStudio environments:

Name Hardware configuration Software version
Default RStudio L 16 vCPU and 64 GB RAM R 3.6
Default RStudio M 8 vCPU and 32 GB RAM R 3.6
Default RStudio XS 2 vCPU and 8 GB RAM R 3.6
Default RStudio XXS 1 vCPU and 5 GB RAM R 3.6

If you don’t explicitly select an environment, Default RStudio M is taken by default. The hardware configuration of the available RStudio environments is preset and cannot be changed.

Note: For compute-intensive processing on a large data set, you should consider pushing your data processing to Spark from your RStudio session. See Using Spark in RStudio.

Viewing RStudio environment definitions

The RStudio environment definitions are listed on the project’s Environments page in the environment definitions list. You can select and view the environment definition details, however you can’t customize these environment definitions.

After you start RStudio, the runtime that becomes active for your session is listed on the Environments page in the active environment runtimes list. You can stop the RStudio runtime from this page.

Changing the RStudio runtime

If you notice that processing is very slow, you can restart RStudio and select a larger environment 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 from the Environment tab of your project by selecting the runtime and clicking ACTIONS > Stop.
  3. Restart RStudio from the Launch IDE menu on your project’s action bar and select another 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 an environment definition and a user. Only one RStudio runtime can be active per Watson Studio user at one time. If you started RStudio in another project, you are asked if you want to stop that runtime session and start a new RStudio session in the context of the current project you’re working in.

You can see your active RStudio environment runtime on the project’s Environments page where you can track your runtime usage. You can stop the runtime from this page.

You can also track runtime usage for an account on the Environment Runtimes page from the Manage menu. All account admins can open the Environment Runtimes page for the account.

Learn more