pause: Pause an R process

View source: R/pause.R

pauseR Documentation

Pause an R process

Description

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.

Usage

pause(seconds)

Arguments

seconds

Number of seconds to pause.

Examples

# Wait for 0.5 seconds
pause(0.5)


profvis documentation built on Sept. 20, 2024, 5:10 p.m.