nbrOfWorkers.BatchtoolsFutureBackend: Gets the number of batchtools workers

View source: R/nbrOfWorkers.R

nbrOfWorkers.BatchtoolsFutureBackendR Documentation

Gets the number of batchtools workers

Description

Tries to infer the total number of batchtools workers. This is done using various ad-hoc procedures based on code inspection of batchtools itself.

Usage

## S3 method for class 'BatchtoolsFutureBackend'
nbrOfWorkers(evaluator)

Arguments

evaluator

A future evaluator function. If NULL (default), the current evaluator as returned by future::plan() is used.

Value

A number in [1, Inf].


future.batchtools documentation built on Oct. 19, 2026, 1:07 a.m.