Lecture 1

Overview

  • Understand course objectives, logistics, and expectations
  • Distinguish between R scripts (.R), Markdown documents (.md), and R Markdown documents (.Rmd)
  • Identify and use the main components of R Markdown
  • Familiarize with the Git and GitHub in RStudio workflow

Before class

  • Complete this pre-course survey
  • If you do not have one, create a free GitHub account and add your GitHub username to this sheet; once we have your username we will send an email invitation to join our GitHub organization, please accept it
  • Setup your computer: we encourage everyone to follow option 1 (please allow enough time as this task take might take a while)
  • Make sure your Setup works as expected by completing our Using Git within R Studio tutorial

Readings

RStudio and R Markdown:

Git and GitHub:

Class materials

Run the code below in your console to download today’s materials: usethis::use_course("css-materials/intro")1


  1. If you are using R Workbench, ignore this note. If you are using R from your local machine: first install the package by typing in your console install.packages("usethis"); then load it with library(usethis); finally run the code. ↩︎