R/use_cores.R
use_cores.Rd
Provide the output of use_cores() to, say, crew::crew_controller_local() workers argument.
use_cores()
crew::crew_controller_local()
workers
use_cores(prop_max_detected = 0.5, absolute_max = 128)
What proportion of parallel::detect_cores() to use?
parallel::detect_cores()
Integer. Absolute maximum number of cores to use.
Integer
use_cores() #> [1] 128