output, R script, plots