On Jan 17, 2009, at 9:16 PM, Ferdinand wrote:


Am 18.01.2009 um 03:04 schrieb Steve Revilak:

From: Ferdinand Date: Sun, 18 Jan 2009 01:52:26 +0100

is there a command for exporting the current plot as a pdf-file?

I tried dev.copy(pdf) but it generated a pdf-file I couldn't open ("broken").

Try

quartz.save("my.pdf", type="pdf");




I get a syntax error ...

I don't. Generally I use the File/Save method.

> quartz.save("my.pdf", type="pdf");
quartz
     2

I also get the same effect with Jeff Ryan's suggestion:
dev.copy2pdf(file="my.pdf")

You are asked in the posting guide to produce the full error message and your sysInfo(), and would suggest adding what you get from capabilities()

--
David Winsemius
Leopard 10.5.6; R  2.8.0 GUI 1.26 (5256)


(Release Version 1.23)

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to