View source: R/parallel_config.R
| is_parallel_enabled | R Documentation |
Checks whether parallel processing is currently enabled based on the future plan.
is_parallel_enabled()
Logical value: TRUE if parallel processing is enabled, FALSE if sequential.
set_parallel_plan(), should_parallelize()
## Not run:
# Check current status
is_parallel_enabled()
# Enable parallel processing
set_parallel_plan("multisession")
is_parallel_enabled() # Returns TRUE
# Disable parallel processing
set_parallel_plan("sequential")
is_parallel_enabled() # Returns FALSE
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.