Important

The development of spAddins ended in 2018 as the package RETIRED in favor of packages addins.rmd and addins.rs. Please find the development versions of these packages at:

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. Basic text formatting add-ins for R Markdown documents. More on formatting can be found here:
  2. Insert various R operatiors, including %>%, <<-, %$%;
  3. Replace certain symbols (e.g., strings like "c:\data\" converted into "c:/data/". This can be useful for Windows users).

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")
install.packages("spAddins", repos = c('https://gegznav.r-universe.dev', 'https://cloud.r-project.org'))

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/