Package addins.rs is an R package that provides a set of RStudio add-ins which are designed to be used in combination with user-defined RStudio keyboard shortcuts. These add-ins:

  1. Insert various R operators, including %>%, <<-, %$%;
  2. Replace certain symbols (e.g., strings like "c:\data\" converted into "c:/data/". This can be useful for Windows users);
  3. Align code at certain symbols.

Install package

Install development version from GitHub:

if (!require(remotes)) install.packages("remotes")

remotes::install_github("GegznaV/addin.tools")
remotes::install_github("GegznaV/addins.rs")

More information at http://gegznav.github.io/addins.rs/