An uniprocess future is a future whose value will be resolved synchronously in the current process
UniprocessFuture(
expr = NULL,
substitute = TRUE,
envir = parent.frame(),
globals = TRUE,
packages = NULL,
lazy = FALSE,
local = TRUE,
...
)SequentialFuture(
expr = NULL,
envir = parent.frame(),
substitute = TRUE,
lazy = FALSE,
globals = TRUE,
local = TRUE,
...
)
TransparentFuture(
expr = NULL,
envir = parent.frame(),
substitute = TRUE,
lazy = FALSE,
globals = TRUE,
local = FALSE,
...
)
UniprocessFuture()
returns an object of class UniprocessFuture
.
SequentialFuture()
returns an object of class SequentialProcess
,
which inherits from UniprocessFuture
.
An R expression.
If TRUE, argument expr
is
substitute()
:ed, otherwise not.
The environment from where global objects should be identified.
(optional) a logical, a character vector, or a named list
to control how globals are handled.
For details, see section 'Globals used by future expressions'
in the help for future()
.
(optional) a character vector specifying packages to be attached in the R environment evaluating the future.
If FALSE (default), the future is resolved eagerly (starting immediately), otherwise not.
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()
.
To use 'sequential' futures, use plan(sequential)
, cf. sequential.