Description Usage Arguments Examples
This apply function has a progress bar and enables computations in parallel. By default it is not verbose. As an interactive version with proper 'verbose' output by default please use vmap.
1 | verboseApply(x, f, ..., .mc = 1, .mapper = mclapply, .bar = "none")
|
x |
(vector) |
f |
(function) |
... |
arguments passed to |
.mc |
(integer) the number of processes to start |
.mapper |
(function) the actual apply function used. Should have an
argument |
.bar |
(character) one in 'none', '.' or 'bar' |
1 2 3 4 5 6 7 8 9 | ## Not run:
verboseApply(
1:4,
function(...) Sys.sleep(1),
.bar = "bar",
.mc = 2
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.