These functions are used to write parallel backends for the foreach
package. They should not be used from normal scripts or packages that use
the foreach
package.
makeAccum(it)accumulate(obj, result, tag, ...)
getResult(obj, ...)
getErrorValue(obj, ...)
getErrorIndex(obj, ...)
# S3 method for iforeach
accumulate(obj, result, tag, ...)
# S3 method for iforeach
getResult(obj, ...)
# S3 method for iforeach
getErrorValue(obj, ...)
# S3 method for iforeach
getErrorIndex(obj, ...)
# S3 method for ixforeach
accumulate(obj, result, tag, ...)
# S3 method for ixforeach
getResult(obj, ...)
# S3 method for ixforeach
getErrorValue(obj, ...)
# S3 method for ixforeach
getErrorIndex(obj, ...)
# S3 method for ifilteredforeach
accumulate(obj, result, tag, ...)
# S3 method for ifilteredforeach
getResult(obj, ...)
# S3 method for ifilteredforeach
getErrorValue(obj, ...)
# S3 method for ifilteredforeach
getErrorIndex(obj, ...)
getexports(ex, e, env, good = character(0), bad = character(0))
foreach iterator.
foreach iterator object.
task result to accumulate.
tag of task result to accumulate.
unused.
call object to analyze.
local environment of the call object.
exported environment in which call object will be evaluated.
names of symbols that are being exported.
names of symbols that are not being exported.