[R-SIG-Mac] Saving graphs from x11

Thomas Lumley tlumley at u.washington.edu
Mon Sep 15 21:21:35 MEST 2003


On Mon, 15 Sep 2003, Sammy Banawan wrote:

> I'm running R through xemacs. I'm wanting to save my output graphs.
> I've found several things that talk about saving the output, but I'm
> using a pre-written taxometrics program that generates the code for me.
> Is there a way I can get the graphical output saved?

You should be able to do

pdf("outputgraphs.pdf")
..run your program..
dev.off()

This will send all graphics output to the pdf file rather than to the
screen.

	-thomas



More information about the R-SIG-Mac mailing list