parallel-options | R Documentation |
Set or get thread options
detect_threads()
ravetools_threads(n_threads = "auto", stack_size = "auto")
n_threads |
number of threads to set |
stack_size |
Stack size (in bytes) to use for worker threads. The
default used for |
detect_threads
returns an integer of default threads that
is determined by the number of CPU
cores; ravetools_threads
returns nothing.
detect_threads()
ravetools_threads(n_threads = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.