delayt {cwhtool} | R Documentation |
Wait for approximately sec
seconds during program execution
delayt(sec) # wait for sec seconds nrof <- delayt(sec) # save the number of internal calls of Sys.time(). Can be used to compare the relative execution speed of different processors.
sec |
Number of seconds to wait |
calls Sys.time()
the number of internal calls of Sys.time()
Christian W. Hoffmann, christian.hoffmann@wsl.ch, http://www.wsl.ch/staff/christian.hoffmann
Sys.time(); nrof <- delayt(5); Sys.time() print(nrof) # 2620 on my machine