Description
A Set of RStudio Addins.
Description
A set of RStudio addins that are designed to be used in combination with user-defined RStudio keyboard shortcuts. These addins either: 1) insert text at a cursor position (e.g. insert operators %>%, <<-, %$%, etc.), 2) replace symbols in selected pieces of text (e.g., convert backslashes to forward slashes which results in stings like "c:\data\" converted into "c:/data/") or 3) enclose text with special symbols (e.g., converts "bold" into "**bold**") which is convenient for editing R Markdown files.
README.md
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/