Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

liply

Experimental iterator based version of llply.


Description

Because iterators do not have known length, liply starts by allocating an output list of length 50, and then doubles that length whenever it runs out of space. This gives O(n ln n) performance rather than the O(n ^ 2) performance from the naive strategy of growing the list each time.

Usage

liply(.iterator, .fun = NULL, ...)

Arguments

.iterator

iterator object

.fun

function to apply to each piece

...

other arguments passed on to .fun

Warning

Deprecated, do not use in new code.

See Also


plyr

Tools for Splitting, Applying and Combining Data

v1.8.6
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.