msleep | R Documentation |
Sleep function. May block for longer than requested, with the actual wait time determined by the capabilities of the underlying system.
msleep(time)
time |
integer number of milliseconds to block the caller. |
Non-integer values for time
are coerced to integer. Negative, logical and
other non-numeric values are ignored, causing the function to return
immediately.
Note that unlike Sys.sleep()
, this function is not user-interruptible by
sending SIGINT e.g. with ctrl + c.
Invisible NULL.
time <- mclock(); msleep(100); mclock() - time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.