Skip to content

Instantly share code, notes, and snippets.

@mryap
Created September 28, 2016 11:28
Show Gist options
  • Select an option

  • Save mryap/79df1897a18fef91c109a7cbfe7e71c6 to your computer and use it in GitHub Desktop.

Select an option

Save mryap/79df1897a18fef91c109a7cbfe7e71c6 to your computer and use it in GitHub Desktop.
Install your favourite packages in one go.
packages <- c(
'dplyr', 'plyr', 'Rcpp', 'chron', 'base64enc', 'data.table', 'reshape2',
'shiny', 'ggplot2', 'rstan', 'RMySQL', 'RPostgreSQL', 'ggmap', 'mapproj',
'curl', 'RGtk2', 'rattle', 'httr', 'devtools', 'RODBC', 'ibmdbR', 'rgdal',
'rmarkdown'
)
install.packages(
packages,
repos = 'http://cran.r-project.org/',
INSTALL_opts = c('--clean', '--no-multiarch')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment