Skip to contents

Reports the number of threads OpenMP would use on this machine.

Usage

max_cores()

Value

An integer with the maximum number of OpenMP threads, or 0 when the package was built without OpenMP support.

Examples

max_cores()
#> [1] 4