The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Immutables

Lifecycle: experimental R-CMD-check Codecov test coverage pkgdown docs DOI

Immutables implements several immutable, or persistent, data structures for R: operations return modified copies while remaining fast and true to R’s side-effect-free functional nature with list-like semantics.

Speed and Flexibility

Backed by monoid-annotated finger trees as described by Hinze and Paterson, most operations are constant time, amortized constant time, or \(O(\log(n))\). Core functions are implemented in C++ (via Rcpp) for speed, with matching pure-R reference implementations using lambda.r syntax similar to the paper’s Haskell.

The developer API supports the addition of custom structures via combinations of monoids and measures. See the full documentation for vignettes and reference, including a gallery of worked examples and benchmarks.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.