[R] Two Questions

Greg Snow Greg.Snow at imail.org
Wed Apr 20 19:42:06 CEST 2011

When running a large number of commands from a script that produces multiple plots it is often best to send the plots to the pdf device (or other system) that you can then page through after it is finished.  You could also specify par(ask=TRUE) then you would be prompted before changing the plot (but other code would not execute either).

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Stephen P Molnar
> Sent: Wednesday, April 20, 2011 7:23 AM
> To: R-help
> Subject: [R] Two Questions
> Sorry for the somewhat nondescript subject line, but I have two
> questions:
> 1.        What is a really good book on R for a nonprogrammer?
> 2.       How do I open more than one R Graphics: Device 2(ACTIVE).
> That
> what is the R command that I can use to keep more than one plot open.
> I am
> running a script from a book on Chemometrics that results in more than
> one
> graph during the execution, but it seems that R deletes each graph when
> the
> script calls for the next plot.
> Thanks in advance
> Stephen P. Molnar, Ph.D.                                          Life
> is a
> fuzzy set
> Foundation for Chemistry
> Stochastic
> and multivariate
> http://www.FoundationForChemistry.com
> 	[[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