Cluster version of map to map a function to data elements

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)