Sys.sleep(time)
NULL
.time
must be non-negative (and not NA
nor NaN
):
Inf
is allowed (and might be appropriate if the intention is to
wait indefinitely for an interrupt). The resolution of the time
interval is system-dependent, but will normally be 20ms or better.
(On modern Unix-alikes it will be better than 1ms.)