Learn R Programming

AlphaSimR (version 1.2)

getNumThreads: Number of available threads

Description

Gets the number of available threads by calling the OpenMP function omp_get_max_threads()

Usage

getNumThreads()

Arguments

Value

integer

Examples

Run this code
# NOT RUN {
getNumThreads()

# }

Run the code above in your browser using DataLab