lapply_pb: lapply with a progress bar

Description Usage Arguments Value Author(s) See Also Examples

View source: R/utils.r

Description

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

Usage

1
lapply_pb(X, FUN, ...)

Arguments

X

see ?lapply for parameter explanation

FUN

see ?lapply

...

see ?lapply

Value

list see ?lapply

Author(s)

Mark Heckmann

See Also

lapply

Examples

1
2
3
4
5
6
7
## Not run: 

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


## End(Not run)

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.