Description Usage Value See Also Examples
This function determines if parallel processing capabilities have been initialized.
1 |
logical
indicating if parallel computations will be
performed in parallel where possible.
set_number_of_threads
,
get_number_of_threads
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # set number of threads to 2
set_number_of_threads(2)
# get number of threads
get_number_of_threads()
# check that parallel processing is active
is.parallel()
# reset number of threads to 1
set_number_of_threads(1)
# check that parallel processing has been deactivated
is.parallel()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.