keypress: Wait for a Key Press in a Terminal

Wait for a single key press at the 'R' prompt. This works in terminals, but does not currently work in the 'Windows' 'GUI', the 'OS X' 'GUI' ('R.app'), in 'Emacs' 'ESS', in an 'Emacs' shell buffer or in 'R Studio'. In these cases 'keypress' stops with an error message.

Getting started

Package details

AuthorGábor Csárdi [aut, cre], Jon Griffiths [aut]
MaintainerGábor Csárdi <csardi.gabor@gmail.com>
LicenseMIT + file LICENSE
Version1.3.1
URL https://github.com/gaborcsardi/keypress#readme
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("keypress")

Try the keypress package in your browser

Any scripts or data that you put into this service are public.

keypress documentation built on May 29, 2024, 2:01 a.m.