readkey: Wait for a keypress

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.