callr {future.callr} | R Documentation |
callr futures
Description
A callr future is an asynchronous multiprocess future that will be evaluated in a background R session.
Usage
callr(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = NULL,
workers = availableCores(),
...
)
Arguments
expr |
The R expression to be evaluated. |
envir |
The environment in which global environment should be located. |
substitute |
Controls whether |
globals |
(optional) a logical, a character vector, a named list, or
a globals::Globals object. If |
label |
(optional) Label of the future. |
workers |
The number of processes to be available for concurrent callr futures. |
... |
Additional arguments passed to |
Details
callr futures rely on the callr package, which is supported on all operating systems.
Value
An object of class CallrFuture.