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:
- Required: Chapter 27 “R Markdown” from “R for Data Science” 1st Edition
- Optional (check as needed):
- R Markdown the Definitive Guide
- R Markdown Cheat Sheet
- Markdown and R Markdown by Pat Bartlein
- R Markdown from R Studio official documentation
- RStudio IDE Cheat Sheet
- Check your understanding of R Markdown by exploring this interactive tutorial
Git and GitHub:
- Required: “What are Git & GitHub?”
- Optional: Chapter 1 “Why Git? Why GitHub?” from “Happy Git and GitHub for the useR” OR read the article linked at the top of that page
Class materials
Run the code below in your console to download today’s materials: usethis::use_course("css-materials/intro")
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 withlibrary(usethis)
; finally run the code. ↩︎