View source: R/07_miscellaneous.R
pause | R Documentation |
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.
pause()
for (i in c(1:5)) {
print(i)
if (i < 5) {
colordistance:::pause()
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.