My first RStudio Project

This tutorial is recommended for all users who are starting a new project in RStudio for the first time.

This tutorial will walk you through setting up a basic RStudio project which crucially uses renv, a tool designed to capture all of your packages alongside the code and which is needed within DataLabs for your project to work consistently.

  1. Create a new RStudio project
  2. Install some packages
  3. Run some example analysis code