lapply_pb: lapply with a progress bar

View source: R/utils.r

lapply_pbR Documentation

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, ...)

Arguments

X

see ?lapply for parameter explanation

FUN

see ?lapply

...

see ?lapply

Value

list see ?lapply

See Also

lapply()

Examples

## Not run: 

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

## End(Not run)


OpenRepGrid documentation built on Sept. 11, 2024, 7:16 p.m.