Learn R Programming

cpgen (version 0.1)

check_openmp: Check OpenMP-support.

Description

Checks whether the C++ binaries have been compiled with OpenMP-support.

Usage

check_openmp()

Arguments

Value

Returns a message telling you whether OpenMP is available for the cpgen-functions or not.

See Also

set_num_threads, get_num_threads, get_max_threads

Examples

Run this code

# check whether openmp is available or not
check_openmp()

Run the code above in your browser using DataLab