[R] saving intermediate graphics

Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com
Wed Jul 12 21:22:10 CEST 2006


Wow!  Exactly what I needed.

Thank you, Professor Ripley!

Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Prof Brian Ripley
Sent: Wednesday, July 12, 2006 3:01 PM
To: Charles Annis, P.E.
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] saving intermediate graphics

On Wed, 12 Jul 2006, Charles Annis, P.E. wrote:

> Greetings, R-friends:
> 
> I'm using R 2.3.1 on a DELL box with 2 gig, running WindowsXP Pro.
> 
> I am making what is admittedly a very busy plot composed of qq plots with
> superimposed density() plots.  I need to show everything and the result is
> messy, but informative.
> 
> If I produce the basic qq plot, and then add incrementally to it, saving
the
> graphic at each step, the sequence does make the entire exercise
> understandable.  (Honest!)
> 
> I can do this easily by clicking on the plot and saving it to PowerPoint
as
> a metafile.
> 
> I would like to automate the process.  I know how to produce
win.metafiles,
> but closing the file with dev.off() to produce the first graphic means
that
> I can't add to that and produce the subsequent graphic and file.
> 
> Is there a way to do this without generating the entire plot from the
> beginning for each graphic?

Have you tried savePlot()?  It should work incrementally.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html



More information about the R-help mailing list