iterors - Fast, Compact Iterators and Tools
A fresh take on iterators in R. Designed to be cross-compatible with the 'iterators' package, but using the 'nextOr' method will offer better performance as well as more compact code. With batteries included: includes a collection of iterator constructors and combinators ported and refined from the 'iterators', 'itertools', and 'itertools2' packages.
Last updated 2 years ago
6.02 score 4 stars 21 scripts 224 downloadsmemo - In-Memory Caching of Repeated Computations (Memoization)
A simple in-memory, LRU cache that can be wrapped around any function to memoize it. The cache is keyed on a hash of the input data (using 'digest') or on pointer equivalence.
Last updated 12 months ago
5.26 score 13 stars 28 scripts 191 downloads