set_thread_num: Set the number of threads

View source: R/utils.R

set_thread_numR Documentation

Set the number of threads

Description

[New]

This function sets the number of threads for parallel computations involved in the package.

Usage

set_thread_num(num)

Arguments

num

the number of threads. If it is greater than the maximum number of threads available, the number of threads will be set to the maximum value.

Details

See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.

Value

No return value.


dgpsi documentation built on April 3, 2025, 9:26 p.m.