libdir = commandArgs(trailingOnly=TRUE)[1] repo = "https://stat.ethz.ch/CRAN/" #install.packages("Rserve",lib=libdir,repos=) # dependencies=TRUE installs unnecessary Suggests packages. The default, NA, means c("Depends", "Imports", "LinkingTo"). install.packages("caret",lib=libdir,repos=repo); install.packages("stringi",lib=libdir,repos=repo); install.packages("iterators",lib=libdir,repos=repo); install.packages("labeling",lib=libdir,repos=repo); install.packages("foreach",lib=libdir,repos=repo); install.packages("gridExtra",lib=libdir,repos=repo); install.packages("ggplot2",lib=libdir,repos=repo); install.packages("pls",lib=libdir,repos=repo); install.packages("plyr",lib=libdir,repos=repo); install.packages("randomForest",lib=libdir,repos=repo); install.packages("doMC",lib=libdir,repos=repo);