Last active
September 14, 2016 17:14
-
-
Save benjamin-chan/40a801a1eb259dfbf54317abcea89252 to your computer and use it in GitHub Desktop.
Install R packages in bulk
This file contains hidden or 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
packages <- c("devtools", | |
"data.table", | |
"lubridate", | |
"ggplot2", | |
"haven", | |
"readxl", | |
"tidyr", | |
"lme4", | |
"metafor", | |
"DiagrammeR", | |
"DT", | |
"knitr", | |
"rmarkdown", | |
"broom") | |
install.packages(packages, | |
repo="https://cloud.r-project.org", | |
dependencies=TRUE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment