How-To: Getting Started With R/Rstudio & Python in Conda Enviroment

Summary

Quick start guide to using R, Rstudio and Python together on University-managed computers including installation without administrator credentials, utilization of unique conda environments for each project, adding additional channels for packages, adding R and Python packages to the environment, launching Rstudio, utilizing the reticulate R package and backing up configurations for portability and reproducibility.

Body

Question

How do I quickly get started using R/Rstudio and Python together on a University-managed computer?

Answer

1. Install Miniconda. For most usage cases a default installation as performed as your non-administrative user will work best.

How-To: Install Miniconda Without Administrator Privileges in Windows.

How-To: Install Miniconda Without Administrator Privileges on a Mac.

2. Install R.

How-To: Install R From Company Portal

3. Install Rstudio.

How-To: Install Rstudio From Company Portal

4. Create a unique conda environment for each project to avoid dependency conflicts and ensure portablility

How-To: Rstudio: Create Conda Environment for Using Rstudio

5. Add channels to increase the number of available packages and versions.

How-To: Add Channel to Top of List in a Virtual Conda Environment via Command Line Interface.

How-To: Add Channel to Bottom of List in a Virtual Conda Environment via Command Line Interface.

6. Add R and Python packages to the conda environment as needed.

How-To: Using Anaconda - Install an R Package in a Virtual Conda Environment via Command Line Interface

How-To: Install a Package in a Virtual Conda Environment via Command Line Interface.

7. Launch Rstudio in an activated conda environment from the command line.

How-To: Rstudio: Launch Rstudio in Conda Environment From Command Line

8. Create new R project with renv package.

How-To: RStudio: Create a New Project with Renv

9. Use reticulate package for cross language object utilization.

How-To: Rstudio: Use Reticulate Package to Manage R-Python Integration

10. Create backups to keep your work portable and reproducible.

How-To: Backup a Virtual Conda Environment Configuration via Command Line Interface.

 

For Additional Assistance

Informational: Best Practices for Managing Integrated R & Python Projects with Conda

Details

Details

Article ID: 2506
Created
Wed 6/3/26 11:56 AM
Modified
Thu 6/25/26 10:59 AM