R/zzz.R

.onLoad <- function(libname, pkgname){
    if (is.null(getOption("pboptions")))
        options("pboptions"=list(type="txt",
            char="+", txt.width=50, gui.width=300, style=3, initial=0,
            title="R progress bar", label=""))
    invisible(NULL)
}

.onUnload <- function(libpath){
    options("pboptions"=NULL)
    invisible(NULL)
}

Try the pbapply package in your browser

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

pbapply documentation built on May 2, 2019, 5:30 p.m.