Sys.sleep
Sleep for a Specified Period

Description

Suspends engine execution for the specified number of seconds.

Usage

Sys.sleep(time)

Arguments

time a positive numeric value. The number of seconds to sleep.

Details

This function makes the engine suspend execution for the specified number of seconds. Note that the actual time spent in this function might be longer due to other system activities.
Value
returns invisible NULL.
Examples

# sleep for three seconds Sys.sleep(3)

# sleep for 1/10 of a second Sys.sleep(0.1)

Package base version 6.1.4-13
Package Index