[R-SIG-Mac] saving a quartz-plot as pdf
David Winsemius
dwinsemius at comcast.net
Sun Jan 18 06:24:05 CET 2009
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
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list