[R] How can I save a plot ?

Bert Gunter gunter.berton at gene.com
Wed Nov 21 22:14:02 CET 2007


Maura: 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Maura E Monville
Sent: Wednesday, November 21, 2007 12:46 PM
To: r-help at stat.math.ethz.ch
Subject: [R] How can I save a plot ?

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.

 -- Only in Windows devices, AFAIK.

In this scenario, how can I tell R to save the currently displayed plot to a
file ?

see (e.g) ?pdf, ?dev.copy and other ?dev.xxx Help.



The "save" command is generic and do not know how to tell R that the plot is
to be saved using this command.

-- This saves the workspace, not graphs

In addition, is it possible with R to have more than one plot, that is more
than one graphic window opened at the same time ?

-- Yes. ?dev.cur, etc.

Thank you so much.

Regards,
-- 
Maura E.M

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list