View source: R/mc.cores.openmp.R
mc.cores.openmp | R Documentation |
This package was designed for OpenMP. For example, the
pwbart
function can use OpenMP or the parallel R package for
multi-threading. On UNIX/Unix-like systems, OpenMP, if available, is
discovered at install time; for the details, see the
configure.ac
file which can be found in the source version of
this package. However, we know of no GPL licensed code available to
detect OpenMP on Windows (for Artistic licensed OpenMP detection code
on Windows, see the Bioconductor R package rGADEM). To determine
whether OpenMP is available at run time, we provide the function
documented here.
mc.cores.openmp()
Returns a zero when OpenMP is not available, otherwise, an integer greater than zero when OpenMP is available (returns one unless you are running in a multi-threaded process).
pwbart
mc.cores.openmp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.