Re: [R] Empty pdf

2013-07-01 Thread Adrian Trapletti
Thank you Adrian On 07/01/2013 03:04 PM, peter dalgaard wrote: On Jul 1, 2013, at 14:35 , Adrian Trapletti wrote: Dear all, I am comparing "R CMD BATCH script.R" with running the following code snippet within R: pdf("Rplots.pdf") source("script.R") dev.off() q(save="no") Among other things

Re: [R] Empty pdf

2013-07-01 Thread peter dalgaard
On Jul 1, 2013, at 14:35 , Adrian Trapletti wrote: > Dear all, > > I am comparing "R CMD BATCH script.R" with running the following code snippet > within R: > > pdf("Rplots.pdf") > source("script.R") > dev.off() > q(save="no") > > Among other things, one difference is that the former produces

[R] Empty pdf

2013-07-01 Thread Adrian Trapletti
Dear all, I am comparing "R CMD BATCH script.R" with running the following code snippet within R: pdf("Rplots.pdf") source("script.R") dev.off() q(save="no") Among other things, one difference is that the former produces no Rplots.pdf while the latter produces an empty Rplots.pdf, if script.