lazy_parallel: Schedule parallel processes for 'LazyArray'

View source: R/zzz.R

lazy_parallelR Documentation

Schedule parallel processes for LazyArray

Description

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

Usage

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

Arguments

strategy

strategies to apply, see 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 plan


dipterix/lazyarray documentation built on June 30, 2023, 6:30 a.m.