Setup RStudio and GitHub

Installation

To setup RStudio and GitHub, you will need four things:

  1. R
  2. RStudio
  3. Git
  4. GitHub

Follow the UCSB MEDS Installation Guide for detailed instructions on how to create accounts, download, install, and configure on Mac and Windows. (For an even more detailed walk-through, see Allison Horst’s ESM 206 Google Doc). Thanks for sharing Allison!

Practice

Learn R interactively

swirl lets you learn R, in R.

swirl teaches you R programming and data science interactively, at your own pace, and right in the R console!

It’s developed by Sean Kross, who also co-created the Tidy Data Tutor

R and GitHub together

Now you’ll want to practice how to use RStudio and GitHub. Follow R for Excel Users’ GitHub Chapter to create a GitHub repository, clone it to RStudio, make edits, and practice syncing.