Learn R Programming

parallelMap (version 1.0-83)

parallelLapply: A parallel verions of apply-family functions

Description

parallelLapply: A parallel lapply version. parallelSapply: A parallel sapply version.

Usage

parallelLapply(xs, fun, ..., level = NA_character_)

parallelSapply(xs, fun, ..., simplify = TRUE, use.names = TRUE, level = NA_character_)

Arguments

xs
[vector | list] fun is applied to the the elements of this argument.
fun
[function] Function to map over xs.
...
[any] Further arguments passed to fun.
simplify
[logical(1)] See sapply. Default is TRUE.
use.names
[logical(1)] See sapply. Default is TRUE.
level
[character(1)] See parallelMap.

Value

  • For parallelLapply an unamed list, parallelSapply it depends on fun and the set arguments.

Details

All functions are simple wrappers for parallelMap