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

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.

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

You can see your active RStudio environment runtime on the project’s Environments page. 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