Package: keypress 1.3.1.9000
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.
Authors:
keypress_1.3.1.9000.tar.gz
keypress_1.3.1.9000.zip(r-4.5)keypress_1.3.1.9000.zip(r-4.4)keypress_1.3.1.9000.zip(r-4.3)
keypress_1.3.1.9000.tgz(r-4.4-x86_64)keypress_1.3.1.9000.tgz(r-4.4-arm64)keypress_1.3.1.9000.tgz(r-4.3-x86_64)keypress_1.3.1.9000.tgz(r-4.3-arm64)
keypress_1.3.1.9000.tar.gz(r-4.5-noble)keypress_1.3.1.9000.tar.gz(r-4.4-noble)
keypress_1.3.1.9000.tgz(r-4.4-emscripten)keypress_1.3.1.9000.tgz(r-4.3-emscripten)
keypress.pdf |keypress.html✨
keypress/json (API)
NEWS
# Install 'keypress' in R: |
install.packages('keypress', repos = c('https://gaborcsardi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gaborcsardi/keypress/issues
Last updated 1 years agofrom:5f977ea797. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 09 2025 |
R-4.5-win-x86_64 | OK | Jan 09 2025 |
R-4.5-linux-x86_64 | OK | Jan 09 2025 |
R-4.4-win-x86_64 | OK | Jan 09 2025 |
R-4.4-mac-x86_64 | OK | Jan 09 2025 |
R-4.4-mac-aarch64 | OK | Jan 09 2025 |
R-4.3-win-x86_64 | OK | Jan 09 2025 |
R-4.3-mac-x86_64 | OK | Jan 09 2025 |
R-4.3-mac-aarch64 | OK | Jan 09 2025 |
Exports:has_keypress_supportkeypresswithout_echo
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check if the current platform/terminal supports reading single keys. | has_keypress_support |
Read a single keypress at the terminal | keypress |
Call a function with echo suppressed | without_echo |