| set_rsyntax_threads | R Documentation | 
rsyntax relies heavily on the data.table package, which supports multithreading. 
By default, the number of threads set by data.table are used, as you can see with getDTthreads.
Here you can set the number of threads for rsyntax functions, without affecting the data.table settings.
set_rsyntax_threads(threads = NULL)
| threads | The number of threads to use. Cannot be higher than number of threads used by data.table, which you can change with  | 
Does not return a value. Sets the global 'rsyntax_threads' option.
current_threads = rsyntax_threads() set_rsyntax_threads(2) ## undo change (necessary for CRAN checks) set_rsyntax_threads(current_threads)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.