Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

MulticoreFuture-class

An multicore future is a future whose value will be resolved asynchronously in a parallel process


Description

An multicore future is a future whose value will be resolved asynchronously in a parallel process

Usage

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

Arguments

expr

An R expression.

substitute

If TRUE, argument expr is substitute():ed, otherwise not.

envir

The environment from where global objects should be identified.

globals

(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().

lazy

If FALSE (default), the future is resolved eagerly (starting immediately), otherwise not.

...

Additional named elements passed to Future().

Value

An object of class MulticoreFuture.

See Also

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


future

Unified Parallel and Distributed Processing in R for Everyone

v1.21.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.