R: Chunk an expression

chunkexpr {ffbase} | R Documentation

## Chunk an expression

### Description

chunkexpr replaces variables in an expression with a indexed version. It main use it to rewrite "normal" R expression into chunked versions that can be evaluated in a chunked-for-loop.

### Usage

    chunkexpr(expr, x = all.vars(expr), i = ".i", prefix = "")

### Arguments

`expr` | `expression` vector or language object
`x` | `character` with variables to be chunked
`i` | name of index that will be used in the for loop, typically a `ri` or `hi`.
`prefix` | prefix for variables to be replaced.

[Package ffbase version 0.13.1 Index]