pause: Pause and wait for user input

View source: R/07_miscellaneous.R

pauseR Documentation

Pause and wait for user input

Description

Tiny little function wrapper, mostly used for looping or when several plots are output by a single function. Waits for user keystroke to move on to next image or exit.

Usage

pause()

Examples

for (i in c(1:5)) {
  print(i)
  if (i < 5) {
    colordistance:::pause()
  }
}

hiweller/colordistance documentation built on Feb. 1, 2024, 7:49 p.m.