R/lpblapply.R

# lapply <- function(X, FUN, ...){
#   FUN <- match.fun(FUN)
#   pb <- lazyProgressBar(length(X))
#   out <- vector("list", length(X))
#   for(i in seq_along(X)){
#     out[[i]] <- lapply(X[i], FUN, ...)
#     pb$tick()$print()
#   }
#   names(out) <- names(X)
#   return(out)
#
#

Try the lazybar package in your browser

Any scripts or data that you put into this service are public.

lazybar documentation built on April 28, 2020, 5:05 p.m.