hi,
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").
Thanks for any help!
saving a quartz-plot as pdf
7 messages · Ferdinand, Steve Revilak, Jeff Ryan +3 more
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");
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 ... (Release Version 1.23)
Try: dev.copy2pdf(file=) Jeff
On Sat, Jan 17, 2009 at 8:16 PM, Ferdinand <Ferdinand.Gruebler at gmx.de> 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 ... (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
Jeffrey Ryan jeffrey.ryan at insightalgo.com ia: insight algorithmics www.insightalgo.com
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
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 believe that - I bet you have a typo there ... Why don't you copy/paste the command and the error? You were really sparse with the information you provided which is not necessarily helping us to help you ...
(Release Version 1.23)
Mac GUI 1.23 is R 2.6.2 which uses "old" Carbon Quartz, so should consider updating R. Cheers, Simon
Ferdinand, Another way is through saving it as a pdf file when you select the quartz window for printing. Rob
On Jan 17, 2009, at 4:52 PM, Ferdinand wrote:
hi,
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").
Thanks for any help!
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac