Learn R Programming

shazam (version 0.1.8)

getnproc: Determines the numbers of CPU cores available

Description

Determines the numbers of CPU cores available

Usage

getnproc()

Arguments

Value

The number of cores available. Returns 1 if undeterminable.

Examples

Run this code
# NOT RUN {
getnproc()

# }

Run the code above in your browser using DataLab