[R] wait for user input

Martyn Plummer plummer at iarc.fr
Tue Feb 20 10:27:57 CET 2001

On 20-Feb-01 Bill Simpson wrote:
> I want to display a series of plots:
> display plot 1
> wait for user input (keypress or mouse click)
> display plot 2
> etc
> How to do it? Thanks for any help.
> (I have been using locator().)


You press return (at the console, not the graphics device window) to
see the next plot.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list