Learn R Programming

cwhmisc (version 6.0)

delayt: Waiting loop for program execution

Description

Wait for approximately sec seconds during program execution

Usage

delayt(sec) # wait for sec seconds

Arguments

sec
Number of seconds to wait

Value

the number of internal calls of Sys.time()

Details

calls Sys.time()

Examples

Run this code

  Sys.time(); nrof <- delayt(5); Sys.time()
  print(nrof) # 26596 on my machine (2.33 GHz MacBook Pro)

Run the code above in your browser using DataLab