foreach-ext: Foreach Extension Functions

Description Usage Arguments Note

Description

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.

Usage

1
2
3
4
5
6
makeAccum(it)
accumulate(obj, result, tag, ...)
getexports(ex, e, env, good=character(0), bad=character(0))
getResult(obj, ...)
getErrorValue(obj, ...)
getErrorIndex(obj, ...)

Arguments

it

foreach iterator.

ex

call object to analyze.

e

local environment of the call object.

env

exported environment in which call object will be evaluated.

good

names of symbols that are being exported.

bad

names of symbols that are not being exported.

obj

foreach iterator object.

result

task result to accumulate.

tag

tag of task result to accumulate.

...

unused.

Note

These functions are likely to change in future versions of the foreach package. When they become more stable, they will be documented.


foreach documentation built on Dec. 13, 2017, 1:02 a.m.