get_cores: Get a reasonable number for mc.cores

Description Usage Arguments Value

View source: R/parallel.r

Description

Get a reasonable number for mc.cores

Usage

1
get_cores(max_cores = 4L)

Arguments

max_cores

Max number of cores this function will return (default 4)

Value

An integer number of cores to use


karldw/kdw.junk documentation built on Dec. 24, 2018, 1:07 a.m.