Learn R Programming

future (version 1.26.1)

MulticoreFuture-class: A multicore future is a future whose value will be resolved asynchronously in a parallel process

Description

A 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,
  ...
)

Value

MulticoreFuture() returns an object of class MulticoreFuture.

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

Usage

To use 'multicore' futures, use plan(multicore, ...), cf. multicore.