rebus
rebus copied to clipboard
Create a rebus RStudio addin
Create a package with useful regex-related RStudio addins. For example, insert %R%
into the document.
insertROperatorAddin <- function ()
{
rstudioapi::insertText(" %R% ")
}
and inst/rstudio/addins.dcf
Name: Insert %R%
Description: Insert the %R% regex concatenation operator into a script.
Binding: insertROperatorAddin
Interactive: false
See https://github.com/jennybc/jadd and https://rstudio.github.io/rstudioaddins