Skip to contents

WARNING: This function must never be called. It may only be used with future::plan()

Usage

callr(
  ...,
  workers = availableCores(),
  supervise = FALSE,
  envir = parent.frame()
)

Arguments

workers

The number of processes to be available for concurrent callr futures.

supervise

(optional) Argument passed to callr::r_bg().

envir

The environment from where global objects should be identified.

...

Additional arguments passed to Future().

Value

An object of class CallrFuture.

Details

A callr future is an asynchronous multiprocess future that will be evaluated in a background R session.

callr futures rely on the callr package, which is supported on all operating systems.