Provide the output of use_cores() to, say, crew::crew_controller_local() workers argument.

use_cores(prop_max_detected = 0.5, absolute_max = 128)

Arguments

prop_max_detected

What proportion of parallel::detect_cores() to use?

absolute_max

Integer. Absolute maximum number of cores to use.

Value

Integer

Examples

use_cores()
#> [1] 128