Learn R Programming

OpenRepGrid (version 0.1.14)

lapply_pb: lapply with a progress bar

Description

Can be used like standard base:::lapply. The only thing it does is create an additional progress bar.

Usage

lapply_pb(X, FUN, ...)

Value

list see ?lapply

Arguments

X

see ?lapply for parameter explanation

FUN

see ?lapply

...

see ?lapply

See Also

Examples

Run this code
if (FALSE) {

   l <- sapply(1:20000, function(x) list(rnorm(1000)))
   lapply_pb(l, mean)

}

Run the code above in your browser using DataLab