R Conda Environment

This page provides instructions on installing, configuring, and troubleshooting R environments using Conda for reproducible workflows.

Getting Started

Below is a step-by-step guide to creating and managing your R Conda environments. Feel free to expand on these details or alter this section to suit your specific instructions.

  1. Install Miniconda on HPC.
  2. Create a new environment for R (renv.yaml under lab directory):
    conda env create -n renv -f renv.yaml
  3. Activate your new R environment:
    conda activate renv
  4. Install any additional R packages:
    
              conda install -c r r-tidyverse
              # or in R
              install.packages("tidyverse")
            
  5. Verify installed packages:
    conda list

Important Considerations on Package Installation and Running Jobs on HPC

Troubleshooting Tips