view plot_pdf.r @ 61:275e759e7985 draft

Uploaded
author davidvanzessen
date Fri, 18 Aug 2017 10:43:31 -0400
parents 716622f5bb4f
children
line wrap: on
line source

library(ggplot2)

args <- commandArgs(trailingOnly = TRUE)
print(args)

input = args[1]
outputdir = args[2]
setwd(outputdir)

load(input)

print(names(pdfplots))

for(n in names(pdfplots)){
    print(paste("n:", n))
    ggsave(pdfplots[[n]], file=n)
}