How to create an R environment and run RStudio¶
Creating an R environment¶
Go to the Environments page.
Click Create.
Enter a descriptive Name for your environment.
Next to Packages, select version 3.7.13 of Python.
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.Click Create.
Navigator creates the new environment and activates it, as shown by the highlighted green bar and green play button.
Running RStudio¶
With the new environment active, navigate to the Home page.
Click Install on the RStudio application tile.
Once RStudio is installed, click Launch to run RStudio from Navigator.