Learn R Programming

future (version 1.6.0)

EagerFuture: An uniprocess future is a future whose value will be resolved synchronously in the current process

Description

An uniprocess future is a future whose value will be resolved synchronously in the current process

Usage

EagerFuture(expr = NULL, envir = parent.frame(), substitute = FALSE,
  lazy = FALSE, globals = TRUE, local = TRUE, ...)

LazyFuture(expr = NULL, envir = parent.frame(), substitute = FALSE, lazy = TRUE, globals = TRUE, local = TRUE, ...)

UniprocessFuture(expr = NULL, envir = parent.frame(), substitute = FALSE, globals = TRUE, packages = NULL, lazy = FALSE, local = TRUE, ...)

SequentialFuture(expr = NULL, envir = parent.frame(), substitute = FALSE, lazy = FALSE, globals = TRUE, local = TRUE, ...)

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.

lazy

If FALSE (default), then the setup and validation of global variables are done for eager evaluation, otherwise not.

globals

(optional) a named list of global objects needed in order for the future to be resolved correctly.

local

If TRUE, the expression is evaluated such that all assignments are done to local temporary environment, otherwise the assignments are done to the global environment of the R process evaluating the future.

Additional named elements passed to Future().

packages

(optional) a character vector specifying packages to be attached in the R environment evaluating the future.

Value

An object of class UniprocessFuture.

See Also

To evaluate an expression using "uniprocess future", see functions uniprocess().