Description Usage Arguments Value
Apply a function to all members of a collection parallelly.
1 2 3 4 5 6 7 | parallel_apply(
collection,
fun,
packages = character(),
seq_threshold = 0,
log_frequency = 0
)
|
collection |
the input collection, either a list or vector |
fun |
function to apply |
packages |
the string vector of all packages used in the function (necessary!) |
seq_threshold |
the threshold, under which sequential execution should be chosen. If 0, it does not apply. |
log_frequency |
How often (as per number of processed items in the collection) to log. 0 means no logging |
The result - a collection of results of function applications to the input collection, in the same order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.