Check the variable that specifies the number of threads being used by cpgen-functions
Returns the value of the global variable cpgen.threads
set_num_threads, get_max_threads, check_openmp
# set the number of threads to 1
# set number of threads to the value reported by get_max_threads()
n_threads <- get_max_threads()
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.