Learn R Programming

rMouse (version 0.1)

delay: Time Delay

Description

Set the time delay in milliseconds manually.

Usage

delay(ms = 500, failSafe = TRUE)

Arguments

ms

(milliseconds). Default is 500.

failSafe

Logical flag to allow for emergency stops. Default is TRUE.

See Also

setAutoDelay

Examples

Run this code

delay(2000)   # wait 2 seconds
move(0,0)

Run the code above in your browser using DataLab