Description Usage Arguments Details Value Examples
nc is a helper function to check if the number of cores required to run a parallel process is less or equal to the total number of cores of the system.
1 | nc(ncores)
|
ncores |
Number of cores for the parallel process. |
If ncores is bigger than the system's number of cores the function will return the system's number of cores. The functions that use this helper are mop
and pROC
.
Returns an integer representing the number of cores that will be used to run a parallel process.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.