[R] Is there a sleep, wait, pause function?

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Aug 23 20:07:03 CEST 2002


?Sys.sleep ...

> help.search("sleep")
Help files with alias or title matching `sleep',
type 'help(FOO, package = PKG)' to inspect entry 'FOO(PKG) TITLE':

sleep(base)             Students' Sleep Data
sweep(base)             Sweep out Array Summaries
Sys.sleep(base)         Suspend Execution for a Time Interval



On Fri, 23 Aug 2002, Henrik Bengtsson wrote:

> Is there a (cross-platform) sleep/pause/wait function in [R]?
>
> I want to poll a file once in a while to see if and external process is
> ready. Between each poll [R] should consume as little CPU as possible.


-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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