| progress.meter {cwhtool} | R Documentation |
progress.meter writes a symbol to the output at each
invocation. The symbol is usually a ".", a "+" if i %% == 0,
and (ii %/% 10) %% 10 if ii %% 10 == 0. If ii %% 50 == 0, a
line break will be written and i printed.
progress.meter(i)
i |
An integer. |
invisible(NULL).
Christian W. Hoffmann, christian.hoffmann@wsl.ch, http://www.wsl.ch/staff/christian.hoffmann
cat("\n 0")
for (ii in seq(500)) {
# do something time consuming
progress.meter(ii)
}
cat("\n")