Skip to content

Instantly share code, notes, and snippets.

@franTarkenton
Created June 30, 2023 20:53
Show Gist options
  • Save franTarkenton/a48fa218da2d23b50a4a8a537b4204fe to your computer and use it in GitHub Desktop.
Save franTarkenton/a48fa218da2d23b50a4a8a537b4204fe to your computer and use it in GitHub Desktop.
R environment and version management

Overview

These are some notes on how to manage R versions and then specific project dependencies

R Versions

Found this tool rig to help with managing multiple versions of R on WSL/Ubuntu

Install new version

sudo rig add 3.6

List installed versions

sudo rig list

ouptuts

* name   version  aliases
------------------------------------------
* 3.6.3
  4.2.3
  4.3.1

Use a different version that is already installed

sudo rig default 3.6

R environments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment