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 <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

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.