parallelLapply
: A parallel lapply()
version.
parallelSapply
: A parallel sapply()
version.
All functions are simple wrappers for parallelMap()
.
parallelLapply(xs, fun, ..., impute.error = NULL, level = NA_character_)parallelSapply(
xs,
fun,
...,
simplify = TRUE,
use.names = TRUE,
impute.error = NULL,
level = NA_character_
)
(vector
| list
)
fun
is applied to the elements of this argument.
function
Function to map over xs
.
(any)
Further arguments passed to fun
.
(NULL
| function(x)
)
See parallelMap()
.
(character(1)
)
See parallelMap()
.
(logical(1)
)
See sapply()
.
Default is TRUE
.
(logical(1)
)
See sapply()
.
Default is TRUE
.
For parallelLapply
a named list, for parallelSapply
it depends
on the return value of fun
and the settings of simplify
and
use.names
.