Re: [R] How can I save a plot ?

2007-11-22 Thread John Wiedenhoeft
Try something like: pdf(file="filename.pdf") plot(...) dev.off(); works with other formats as well. Type ?Devices Hope that helps, John On Wednesday 21 November 2007 21:45:38 Maura E Monville wrote: > I recently installed R 2.6 on Linux/SuSE > When I was running the previous version on Windows

Re: [R] How can I save a plot ?

2007-11-21 Thread Paulo Justiniano Ribeiro Jr
have a look at: help(dev.print) (there are a few functions documented there and you can choose which one suits better your needs) concerning multiple graphics devices just open another one, for instance with x11() havina a look at help(dev.set) will provide further usrful information on the

Re: [R] How can I save a plot ?

2007-11-21 Thread Bert Gunter
Maura: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maura E Monville Sent: Wednesday, November 21, 2007 12:46 PM To: [EMAIL PROTECTED] Subject: [R] How can I save a plot ? I recently installed R 2.6 on Linux/SuSE When I was running the previous

[R] How can I save a plot ?

2007-11-21 Thread Maura E Monville
I recently installed R 2.6 on Linux/SuSE When I was running the previous version on Windows I was able to save my plots from a script. There was a command "savePlot" that is no more retrieved in the last version. In this scenario, how can I tell R to save the currently displayed plot to a file ? Th