R: Foreach Extension Functions

foreach-ext {foreach} | R Documentation

## Foreach Extension Functions

### 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

    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.

[Package foreach version 1.4.4 Index]