future.batchtools (version 0.12.1)

nbrOfWorkers.batchtools: 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 batchtools
nbrOfWorkers(evaluator)

Value

A number in \([1, Inf]\).

Arguments

evaluator

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