list_shortcuts | R Documentation |
Lists all shortcuts declared in .shrtcts.R
or .shrtcts.yml
. Also lists
the currently assigned RStudio keyboard shortcuts.
list_shortcuts(path_shortcuts = NULL, path_addins_json = NULL)
path_shortcuts |
Path to |
path_addins_json |
Path to RStudio's |
A data frame with the shortcut name
, it's assigned addin
placeholder function, the shrcts_keybinding
declared in the shrtcts
source file, and the rstudio_keybinding
currently assigned to the
shortcut in RStudio.
add_rstudio_shortcuts()
, paths
if (
interactive() &&
requireNamespace("rstudioapi", quietly = TRUE) &&
rstudioapi::hasFun("versionInfo")
) {
list_shortcuts()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.