farray_parallel: Schedule parallel processes for 'farray'

View source: R/threads.R

farray_parallelR Documentation

Schedule parallel processes for farray

Description

Enable parallel processing, need dipsaus to be installed. For "callr" strategy, please also install future.callr.

Usage

farray_parallel(
  strategy = c("multisession", "multicore", "multiprocess", "cluster", "remote",
    "callr"),
  enabled = TRUE,
  workers = "auto",
  ...
)

Arguments

strategy

strategies to apply, see future::plan() for some of the details. For "callr" plan, please install package

enabled

whether multiple-process strategy is enabled

workers

positive integer or "auto", number of 'CPU' to use. The default value is "auto", i.e. future::availableCores()

...

Further passed to future::plan()

Value

Current parallel strategy

Author(s)

Zhengjia Wang


dipterix/farray documentation built on Oct. 16, 2022, 6:13 p.m.