Created
February 2, 2022 19:56
-
-
Save aaronbaggett/7aa412f8a8dae92c56530769dabace24 to your computer and use it in GitHub Desktop.
Use the R code in this script to install and load the {tidyverse} and {devtools} packages. We can always add this script when we need to install other packages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------- | |
# Installing Add-On R Packages | |
# Spring 2022 | |
# SOCI 4391-01: Advanced Data Analytics | |
# ------------------------------------------------------------------------- | |
# PRO TIP: | |
# Highlight lines 10-18 then press -> Run above | |
if (! require(tidyverse)){ | |
install.packages("tidyverse") | |
} | |
library(tidyverse) | |
if (! require(devtools)){ | |
install.packages("devtools") | |
} | |
library(devtools) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment