A Set of RStudio Addins

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.


CRAN_Status_Badge Travis-CI Build Status MIT licensed Rdoc Updated-on


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:

  1. 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").
  2. insert text (e.g., operators %>%, <<-, %$%) at the cursor position;
  3. 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/


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spAddins")

0.2.0 by Vilmantas Gegzna, 5 months ago


https://github.com/GegznaV/spAddins


Report a bug at https://github.com/GegznaV/spAddins/issues


Browse source code at https://github.com/cran/spAddins


Authors: Vilmantas Gegzna [aut, cre, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports rstudioapi, magrittr, stringr, purrr

Suggests knitr, rmarkdown, rebus


See at CRAN