Question
How do I create a virtual conda environment for using Rstudio?
Answer
1. From the command line (CLI) in the base environment, enter "conda create -n my_rstudio_env -c conda-forge r-base r-essentials" to create environment. This ensures a robust set of base packages compiled specifically for the environment.
Example environment: my_rstudio_env
A prompt to proceed will be displayed and require "y". A new environment is then created.
2. Enter "conda info --envs" to list conda environments. New example environment is listed.
Example environment: my_rstudio_env