Skip to content

keypress

Wait for a Key Press in a Terminal

v1.3.2 · May 28, 2026 · MIT + file LICENSE

Description

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

Downloads

868

Last 30 days

3941st

2.6K

Last 90 days

10.4K

Last year

Trend: +7.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpO9Tvr0/ltx229cbb682361b3/has_keypress_support.tex': No space left on device
Error in file(out, "wt") : cannot open the connection
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 3, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gábor Csárdi <csardi.gabor@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Gábor",
                      family = "Csárdi",
                      role = c("aut", "cre"),
                      email = "csardi.gabor@gmail.com"),
               person(given = "Jon",
                      family = "Griffiths",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gábor Csárdi <csardi.gabor@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Gábor",
                      family = "Csárdi",
                      role = c("aut", "cre"),
                      email = "csardi.gabor@gmail.com"),
               person(given = "Jon",
                      family = "Griffiths",
                      role = "aut"))
as necessary.

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies climenu cursr keypress

Version History

7 tracked
updated 1.3.2 ← 1.3.1 diff May 28, 2026
new 1.3.1 Mar 10, 2026
updated 1.3.1 ← 1.3.0 diff Dec 10, 2023
updated 1.3.0 ← 1.2.0 diff Oct 25, 2022
updated 1.2.0 ← 1.1.1 diff Jan 9, 2020
updated 1.1.1 ← 1.0.0 diff Mar 1, 2017
new 1.0.0 Jun 5, 2015