This RStudio addin provides some useful functions:
%T>%
%<>%
%$%
under the cursor in source code panel->
under the cursor in source code panelbrowser()
under the cursor in source code panelsourceKnitr
: source a R Markdown document like if it were an R scriptreadKnitrCache
: load all cached chunks for the active .Rmd
documentrunShinyMarkdown
: when knitting and running a Shiny R markdown document, run it in the current session instead of a new one. This enables Rstudio to stop on browser()
calls.This enables users to add custom keyboard shortcuts to any of those commands.
Install it from this repository using devtools
or remotes
:
devtools::install_github('lgaborini/rstudio-myaddins')
remotes::install_github('lgaborini/rstudio-myaddins')
It will appear in the Addins menu.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.