Install Git & GitHub

Although version control will not be explicitly covered in this workshop, it is highly recommended. It not only allows you to keep track of when and why changes were made to a file, but also provides an easy method for sharing your code. If you would like to use GitHub during the workshop, please follow the steps below from the online book Happy Git with R:

Installation

  1. Register a GitHub account
  2. Install Git
  3. Introduce yourself to Git

Connect Git, GitHub, RStudio

  1. Connect to GitHub
  2. Do one of the following:
  3. Connect RStudio to Git and GitHub

Test-drive

We encourage you to follow a “New project, GitHub first” workflow. This means that if you want to work locally, you’ll want to be comfortable doing the following steps:

  1. Make a repo on GitHub
  2. Make a new RStudio project via git clone
  3. Make local changes, save, commit
  4. Push your local changes to GitHub