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: ?Sys.sleep Note the caveats regarding time resolution... HTH, Marc Schwartz ______________________________________________ R-help@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.