[R] Can't save a graph to pdf in R for MacOS

Sébastien Plante splante at globetrotter.net
Wed Jun 25 04:41:12 CEST 2003


Hi,

I am using R 1.7.1 (carbon) for MacOS and I am running it on MacOS X 
10.2.6. When I send a graph to the pdf device (or any other devices), I 
get a zero KB file name "Rplots.pdf".

Before sending my graph to the output, I did:

 > dev.off()
 > pdf()
 > boxplot(... my graph commands...)
 > dev.off()

Is this the correct procedure?  I did the same procedure on another PC 
running Linux (R 1.6) and it work well.

Please help!

Thanks,

Sébastien Plante




More information about the R-help mailing list