keystroke | R Documentation |
Send one or more keystrokes to the active window.
keystroke(key, delay = NULL, clearmodifiers = FALSE) keydown(key, clearmodifiers = FALSE) keyup(key) typestring(string, delay = 12, clearmodifiers = FALSE, sep = "\n")
key |
A character vector describing the keys to type. The key is
interpreted as a Keysym
(e.g., |
delay |
The delay between keystrokes (in milliseconds). Maximum value is 1000. A very small delay (e.g., 0) may not produce all keys. |
clearmodifiers |
Logical whether to clear input modifiers (such as the shift key). |
string |
A character value that is typed out literally. Can have embedded spaces and newlines and tabs. |
sep |
If multiple character values are provided to |
Paul Murrell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.