D-Lab's 4 part, 8 hour introduction to R Fundamentals. Learn how to create variables and functions, manipulate data frames, make visualizations, use control flow structures, and more, using R in RStudio.
# install the tidyverse package - note the name of the package needs to be in quotes
install.packages("tidyverse")
# load the package into the current R session - note the name of the package doesn't need to be in quotes (!) and you can use tab complete to see a list of installed packages
library(tidyverse)
# check that tidyverse has been loaded
?tidyverse
unclear if this chunk of code should be run