Learn R Programming

future (version 1.0.1)

ClusterFuture-class: A cluster future is a future whose value will be resolved asynchroneously in a parallel process

Description

A cluster future is a future whose value will be resolved asynchroneously in a parallel process

Usage

ClusterFuture(expr = NULL, envir = parent.frame(), substitute = FALSE, local = !persistent, gc = !persistent, persistent = FALSE, workers = NULL, ...)

Arguments

expr
envir
The environment in which the evaluation is done (or inherits from if local is TRUE).
substitute
If TRUE, argument expr is substitute():ed, otherwise not.
local
If TRUE, the expression is evaluated such that all assignments are done to local temporary environment, otherwise the assignments are done in the global environment of the cluster node.
gc
If TRUE, the garbage collector run after the future is resolved (in the process that evaluated the future).
persistent
If FALSE, the evaluation environment is cleared from objects prior to the evaluation of the future.
workers
A cluster. Alternatively, a character vector of host names or a numeric scalar, for creating a cluster via makeCluster(workers).
...
Additional named elements of the future.

Value

An object of class ClusterFuture.

See Also

To evaluate an expression using "cluster future", see function cluster().