[R] does R provides a wait or pause function?

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Oct 20 13:42:53 CEST 2004


"Marc Mamin" <M.Mamin at intershop.de> writes:

> Hello,
> 
> 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(1)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list