dotdot: Enhanced Assignment Operator to Overwrite or Grow Objects

Use '..' on the right hand side of the ':=' operator as a shorthand for the left hand side, so that 'var := f(..) + ..' is equivalent to 'var <- f(var) + var'. This permits the user to be explicit about growing an object or overwriting it using its previous value, avoids repeating a variable name, and saves keystrokes, time, visual space and cognitive load.

Package details

AuthorAntoine Fabri
MaintainerAntoine Fabri <antoine.fabri@gmail.com>
LicenseGPL-3
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dotdot")

Try the dotdot package in your browser

Any scripts or data that you put into this service are public.

dotdot documentation built on May 2, 2019, 3:33 p.m.