1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nbrOfWorkers.R
\name{nbrOfWorkers.batchtools}
\alias{nbrOfWorkers.batchtools}
\title{Gets the number of batchtools workers}
\usage{
\method{nbrOfWorkers}{batchtools}(evaluator)
}
\arguments{
\item{evaluator}{A future evaluator function.
If NULL (default), the current evaluator as returned
by \code{\link[=plan]{plan()}} is used.}
}
\value{
A number in \eqn{[1, Inf]}.
}
\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.
}
\keyword{internal}
|