Overview
- Familiarize with R syntax, data types, and data structures
- Distinguish between R scripts (
.R), Markdown documents (.md), and R Markdown documents (.Rmd) - Identify the major components of R Markdown
- Create repositories
- Make commits and synchronize repositories from RStudio
Before class
- Read chapter 4 “Workflow Basics” in R for Data Science
- Read Data Carpentry Introduction to R
- Read chapter 27 “R Markdown” in R for Data Science
Class materials
- Run the code below in your console to download today’s lecture and
exercises:
usethis::use_course("CFSS-MACSS/intro-r")[1] - Using Git within R Studio
Additional resources
- Markdown and R Markdown by Pat Bartlein
- R Markdown from R Studio official documentation
- Practice your R skills with DataCamp free Introduction to R course
What you need to do after class
- If you haven’t yet:
- Start Homework 1
[1] If you are using R from your local machine: first install the
library by typing in your console install.packages("usethis"); then
load it with library(usethis); finally run the code