Set up the future parameters.
MiraiFuture(
expr = NULL,
substitute = TRUE,
envir = parent.frame(),
globals = TRUE,
packages = NULL,
lazy = FALSE,
workers = availableCores(),
dispatcher = "auto",
...
)
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.
Additional named elements of the future.
An object of class MiraiFuture
.