cluster_map: Map a function to data

Description Usage Arguments

View source: R/interface.R

Description

Cluster version of map to map a function to data elements

Usage

1
2
cluster_map(x, f, cl_name = NULL, ncores = 1L, envir = parent.frame(),
  cleanup = FALSE)

Arguments

x

the data

f

function to be mapped to the data

cl_name

cluster name

ncores

the number of cores to uses

envir

the evaluation environment

cleanup

if TRUE, cluster is deleted at the end (default FALSE)


rdpeng/threadpool documentation built on Nov. 20, 2019, 2 p.m.