| getRcppMLthreads | R Documentation |
Get the number of threads that will be used by RcppML functions supporting parallelization with OpenMP. Use setRcppMLthreads to set the number of threads to be used.
getRcppMLthreads()
integer giving number of threads to be used by RcppML functions. 0 corresponds to all available threads, as determined by OpenMP.
Zach DeBruine
setRcppMLthreads
## Not run: # set serial configuration setRcppMLthreads(1) getRcppMLthreads() # restore default parallel configuration, # letting OpenMP decide how many threads to use setRcppMLthreads(0) getRcppMLthreads() ## End(Not run)