pause: Pause execution.

View source: R/pause.R

pauseR Documentation

Pause execution.

Description

Pause for x seconds, then resume execution.

Usage

pause(x = 1e-07)

Arguments

x

A complete non-netative numeric scalar indicating the number of seconds to pause.

Value

NULL (called for its side effect).

See Also

Other meta: callers(), console_help(), dot_args(), ply_help(), purge_help(), recycling_help(), run()

Examples

## Not run: 
  cat("\n pause(0.01)")
  pause(0.01)
  cat("\n pause(0.1)")
  pause(0.1)
  cat("\n pause(0.2)")
  pause(0.2)
  cat("\n pause(0.5)")
  pause(0.5)
  cat("\n pause(1)")
  pause(1)
  cat("\n done")

## End(Not run)

j-martineau/uj documentation built on Sept. 14, 2024, 4:40 a.m.