R/landmine-helpers.R
landmine_optim_clusterWrap.RdWrapper function to setup cluster, export objects and load packages
landmine_optim_clusterWrap(cl = NULL, nodes, reps, objs, pkgs)a cluster object or NULL
positive integer of length 1 specifying the number of threads
to use on the current machine (localhost), or a character vector of
hostnames on which to run worker copies.
integer. number of replicates to run.
character vector of names of objects to export
character vector of packages to pre-load on the cluster nodes
named list of length 2 containing:
cl, a cluster object;
out, a list of burn maps (aka burnMapList).