Skip to content

Instantly share code, notes, and snippets.

@nassimhaddad
Last active December 19, 2015 22:58
Show Gist options
  • Save nassimhaddad/6031243 to your computer and use it in GitHub Desktop.
Save nassimhaddad/6031243 to your computer and use it in GitHub Desktop.
installs my preferred packages.this is pretty useful right after a new installation.
# first install devtools in R
# then run:
# install.packages("devtools")
# library(devtools)
# source_gist(6031243)
lapply(c("ggplot2",
"xtable",
"markdown",
"gdata",
"plyr",
"RColorBrewer",
"reshape2",
"googleVis",
"xlsx",
"knitr",
"data.table",
"roxygen2",
"Rook"),
install.packages, dependencies = TRUE)
lapply(c("Rcpp", "plyr", "stringr", "reshape", "data", "zoo", "MASS",
"minqa", "RcppEigen", "lme", "abind", "coda", "arm", "RColorBrewer",
"latticeExtra", "Formula", "Hmisc", "glmnet", "relaxnet", "widenet",
"bit", "ff", "fastmatch", "ffbase", "digest", "brew", "roxygen",
"minpack", "randomForest", "mgcv", "gamm", "DBI", "RMySQL", "yaml",
"bitops", "RCurl", "ETLUtils", "doBy", "ggplot2", "xtable", "markdown",
"gdata", "reshape2", "googleVis", "xlsx", "knitr", "data.table",
"roxygen2", "Rook"),
install.packages, dependencies = TRUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment