Maps a function over lists or vectors in parallel.
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()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.