[R] Time Delay / Wait

Greg Snow Greg.Snow at imail.org
Fri Nov 12 17:42:03 CET 2010

In addition to Michael's answer, look at the ?par help page and look at the ask argument, you can use this to have the graphics device wait for you to click before starting a new plot.

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 Santosh Srinivas
> Sent: Thursday, November 11, 2010 11:54 PM
> To: r-help at r-project.org
> Subject: [R] Time Delay / Wait
> Hi Group,
> Is there something like a delay function based on System time or
> equivalent?
> I basically am generating a few graphs and I would like to see each
> graph
> for say 2mins before moving on to the next one?
> I can always have an empty for-loop I guess but is there a better way?
> Thanks,
> S
> ______________________________________________
> 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