summarylogtreecommitdiffstats
path: root/rbundle.R
diff options
context:
space:
mode:
Diffstat (limited to 'rbundle.R')
-rw-r--r--rbundle.R16
1 files changed, 16 insertions, 0 deletions
diff --git a/rbundle.R b/rbundle.R
new file mode 100644
index 000000000000..b25649ae35b4
--- /dev/null
+++ b/rbundle.R
@@ -0,0 +1,16 @@
+#Set repo to 0cloud
+options('repos' = 'http://cran.revolutionanalytics.com')
+
+#Grab library dir
+path <- commandArgs(trailingOnly = TRUE)
+print(path)
+
+.libPaths(new = path)
+
+#List of R packages to be installed
+libs <- c('BayesFactor','lme4','Rcpp','RInside','afex','base64','car','effects','qgraph','hypergeo','lavaan',
+ 'logspline','lsmeans','plotrix','RJSONIO','semTools','vcd','vcdExtra')
+
+#They modified gnm
+
+install.packages(libs,path,'http://cran.us.r-project.org')