parallelMap | R Documentation |
Uses the parallelization mode and the other options specified in
parallelStart()
.
Libraries and source file can be initialized on slaves with
parallelLibrary()
and parallelSource()
.
Large objects can be separately exported via parallelExport()
,
they can be simply used under their exported name in slave body code.
Regarding error handling, see the argument impute.error
.
parallelMap(
fun,
...,
more.args = list(),
simplify = FALSE,
use.names = FALSE,
impute.error = NULL,
level = NA_character_,
show.info = NA
)
fun |
function |
... |
(any) |
more.args |
list |
simplify |
( |
use.names |
( |
impute.error |
( |
level |
( |
show.info |
( |
Result.
parallelStart()
parallelMap(identity, 1:2)
parallelStop()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.