Created
July 6, 2018 17:27
-
-
Save callahantiff/ed3f249d7f4179670f82a174bd810abd to your computer and use it in GitHub Desktop.
Install and load multiple R packages needed for CHCO R Training
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
# 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