[R] does R provides a wait or pause function?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Oct 20 13:45:43 CEST 2004
On Wed, 20 Oct 2004, Marc Mamin wrote:
> I'd like to insert a "wait" function in my code.
>
> The reason is that I output timestamped files and I want to ensure that
> at least 1 second separes 2 files to avoid overwriting the previous
> file.
?Sys.sleep (The Unix equivalent command and system call are both called
`sleep'.)
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list