Usually run after identifyVectorArgs
which will separate the arguments
into vectors of values for a call to Map
, and arguments that have
only one value (passed to MoreArgs
in Map
). If all are single
length arguments, then it will pass to lapply
. If a cl
is provided
and is non-NULL
, then it will pass all arguments to clusterMap
or
clusterApply
.
MapOrDoCall(fn, multiple, single, useCache, cl = NULL)
The function that will be run via Map
/clusterMap
.
This a list the arguments that Map will cycle over.
Passed to MoreArgs
in the mapply
function.
Logical indicating whether to use the cache.
A cluster object or NULL
.
identifyVectorArgs