lazyarray-threads | R Documentation |
Set number of threads used by 'OpenMP' for both lazyarray
and fstcore
packages.
set_lazy_threads(
nr_of_threads = getOption("lazyarray.nthreads"),
reset_after_fork = NULL
)
get_lazy_threads(max = FALSE)
nr_of_threads |
number of CPU cores to use, or |
reset_after_fork |
whether to reset after forked process |
max |
whether return maximum available threads |
Number of cores currently used.
threads_fstlib
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.