Learn R Programming

shazam (version 0.1.4)

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
getnproc()

Run the code above in your browser using DataLab