powered by
This function pauses an R process for some amount of time. It differs from Sys.sleep() in that time spent in pause will show up in profiler data. Another difference is that pause uses up 100\ whereas Sys.sleep does not.
Sys.sleep()
pause
Sys.sleep
pause(seconds)
Number of seconds to pause.
# Wait for 0.5 seconds pause(0.5)
Run the code above in your browser using DataLab