readkey: Wait for a keypress

Description Usage Arguments Changed Feb 23, 2015 by njf Author(s) References

View source: R/readkey.R

Description

Wait for a keypress

Usage

1
readkey(prompt = "Press [enter] to continue")

Arguments

prompt

the text to display

Changed Feb 23, 2015 by njf

prompt may be set by a parameter rather than hard coding it.

Author(s)

nnn, arulmr, Neal Fultz

References

http://stackoverflow.com/questions/15272916/how-to-wait-for-a-keypress-in-r


stackoverflow documentation built on May 29, 2017, 3:46 p.m.

Search within the stackoverflow package
Search all R packages, documentation and source code