pause: Pause Execution

Description Usage Arguments Author(s) Examples

Description

Stops execution and waits for any key to be pressed.

Usage

1
pause(prompt = "Pause. Press <Enter> to continue... ")

Arguments

prompt

the string printer when prompting the user to press a key.

Author(s)

Andrej Blejec andrej.blejec@nib.si

Examples

1
2
3
4
5
6
7
## Not run: 
for (i in 1:3) {
  print(i)
  pause()
}

## End(Not run)

ablejec/amisc documentation built on May 10, 2019, 4:13 a.m.