install = function() { install.packages(c("moments","graphics","Rcmdr","hexbin"), repos="http://lib.stat.cmu.edu/R/CRAN") } install()