[R] Pause loop

Marc Schwartz marc_schwartz at comcast.net
Fri Dec 28 19:24:34 CET 2007

On Fri, 2007-12-28 at 19:07 +0100, Armin Goralczyk wrote:
> Hi list
> How can I pause a loop (or any other function) for a defined time? E.g.
> for(i in 1:5) {print(1:i); 'function to pause for 10 seconds'}
> Thanks for help.

At least on Linux, see:


Note the caveats regarding time resolution...


Marc Schwartz

More information about the R-help mailing list