Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.31.0208231904390.2609-100000@gannet.stats>
Date: 2002-08-23T18:07:03Z
From: Brian Ripley
Subject: Is there a sleep, wait, pause function?
In-Reply-To: <Pine.GSO.4.10.10208231723490.28281-100000@speed>

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