wait: Wait for a period of time.

View source: R/NCmisc.R

waitR Documentation

Wait for a period of time.

Description

Waits a number of hours minutes or seconds (doing nothing). Note that this 'waiting' will use 100

Usage

wait(dur, unit = "s", silent = TRUE)

Arguments

dur

waiting time

unit

time units h/m/s, seconds are the default

silent

print text showing that waiting is in progress

Value

no return value

Author(s)

Nicholas Cooper njcooper@gmx.co.uk

Examples

wait(.25,silent=FALSE) # wait 0.25 seconds
wait(0.005, "m")
wait(0.0001, "Hours", silent=FALSE)

NCmisc documentation built on Oct. 17, 2022, 5:09 p.m.