Skip to content

Instantly share code, notes, and snippets.

@callahantiff
Created July 6, 2018 17:27
Show Gist options
  • Save callahantiff/ed3f249d7f4179670f82a174bd810abd to your computer and use it in GitHub Desktop.
Save callahantiff/ed3f249d7f4179670f82a174bd810abd to your computer and use it in GitHub Desktop.
Install and load multiple R packages needed for CHCO R Training
# install list of packages
install.packages(c("dplyr", "dbplyr", "swirl", "odbc", "RODBC", "knitr", "DBI", "packrat", "rstudioapi", "rmarkdown", "codetools", "devtools", "ggplot2"))
# load installed packages
my_packages <- c("dplyr", "dbplyr", "swirl", "odbc", "RODBC", "knitr", "DBI", "packrat", "rstudioapi", "rmarkdown", "codetools", "devtools", "ggplot2")
lapply(my_packages, library, character.only = TRUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment