[R] example(plot) question
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Jan 15 06:49:15 CET 2006
You can either open a graphics device with history
windows(record = TRUE)
or open a graphics device and set par(ask=TRUE) to be asked for
confirmation after each plot (as most demos do).
Finally, if you always want graphics recorded on a windows() device, use
options(graphics.record = TRUE)
as documented in ?windows. (I am not sure how you would know about plot
history without knowing that was the relevant device: e.g. both the rw-FAQ
and the Windows README tell you.)
On Sat, 14 Jan 2006, Robert W. Baer, Ph.D. wrote:
>> From Windows RGui, I tried:
> example(plot)
>
> This worked as expected except that the various plots write over top of
> each other in the graphics window that is created. I then discovered
> that graphics history is not enabled during the example generation.
>
> I used the graphics window menu to enable the history and repeated
> example(plot), but this raises a couple of questions:
>
> Is there a command line equivalent for activating plot history? Is plot
> history a par() or options() setting or is it intrinsic to an individual
> graphics window?
>
> Is there an argument to example() that enables plot history and/or
> wouldn't it make sense to have this activated by default whenever an
> example() execution creates plots?
>
> I tried:
>
> help.search('plot record')
> help.search('plot history')
> help.search('history recording')
>
> without finding anything insightful to help with this topic, but I'm
> just betting more than one of you knows what I should have typed or
> where I should look<G>.
>
> Thanks,
>
> Rob
>
>> version
> _
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 2
> minor 2.0
> year 2005
> month 10
> day 06
> svn rev 35749
> language R
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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
>
--
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
More information about the R-help
mailing list