How to create an R environment and run RStudio#

Creating an R environment#

  1. Start Navigator.

  2. Go to the Environments page.

  3. Click Create.

  4. Enter a descriptive Name for your environment.

  5. Next to Packages, select version 3.7.13 of Python.

  6. Check the box next to R and select the version of R you want to use.

    Note

    This topic selects a version of Python that is compatible with most versions of R. Not all versions of Python and R are compatible. If you attempt to create an environment with incompatible versions, Navigator will error, list the incompatible package versions, and stop creating the environment.

    R will install with the packages r-base, r-essentials, and many other R packages. For more information, please see Using R language with Anaconda.

  7. Click Create.

  8. Navigator creates the new environment and activates it, as shown by the highlighted green bar and green play button.

Running RStudio#

  1. With the new environment active, navigate to the Home page.

  2. Click Install on the RStudio application tile.

  3. Once RStudio is installed, click Launch to run RStudio from Navigator.