/extraInserts

Simple convenience RStudio add-in inserting assignment operators and pipes

Primary LanguageROtherNOASSERTION

extraInserts

Build Status

Description

The purpose of this trivial package is to offer a set of convenience functions inserting various (pipe) operators so those can be conveniently linked to keyboard shortcuts in RStudio.

This package was developed for fun and to conveniently transport frequently used functions across environments.

Available operators

Operator Description
-> Rightwards form of the common assignment operator
%<>% The compound assignment pipe-operator offered in the excellent magrittr package
%T>% The tee operator from the magrittr package
%$% The exposition pipe-operator from the magrittr package

Installation

if (!requireNamespace("devtools", quietly = TRUE))
  install.packages("devtools")
devtools::install_github('konradedgar/extraInserts')