Commit a7923d65 authored by Simon Pintarelli's avatar Simon Pintarelli

install R-dependencies as needed

parent 835a6137
# install packages if needed
list.of.packages <- c("ggplot2", "knitr", "reshape", "dplyr")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
# knitr
knit('statistics.Rnw', quiet=TRUE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment