R package spAddins
spAddins
is an R package that provides a set of RStudio addins which are designed to be used in combination with user-defined RStudio keyboard shortcuts. These addins either:
- format text in R Markdown documents:
- enclose either selected text or selected rows with special symbols and text gets inerpreted in a special way when rendered with R Markdown (e.g., converts "bold" into "**bold**" that is interpreted as "bold").
- insert text (e.g., operators
%>%
,<<-
,%$%
) at the cursor position; - replace symbols in selected pieces of text (e.g., convert backslashes to forward slashes which results in strings like
"c:\data\"
converted into"c:/data/"
).
Install package
Install released version from CRAN:
install.packages("spAddins")
Install development version from GitHub:
if (!require(devtools)) install.packages("devtools")
devtools::install_github("GegznaV/spAddins")
Recommended workflow and a few examples
Get started online http://gegznav.github.io/spAddins/articles/v1_workflow.html
And offline:
vignette("v1_workflow", package = "spAddins")
More information at http://gegznav.github.io/spAddins/