nbrOfWorkers {future} | R Documentation |
Gets the number of workers available
nbrOfWorkers(evaluator = NULL)
evaluator |
A future evaluator function.
If NULL (default), the current evaluator as returned
by |
A number in [1, Inf].
plan(multiprocess) nbrOfWorkers() ## == availableCores() plan(sequential) nbrOfWorkers() ## == 1