R-Friendly Multi-Threading in C++

Calling multi-threaded C++ code from R has its perils. Since the R interpreter is single-threaded, one must not check for user interruptions or print to the R console from multiple threads. One can, however, synchronize with R from the main thread. The R package RcppThread (current version 1.0.0) co...

Full description

Bibliographic Details
Main Author: Thomas Nagler
Format: Article
Language:English
Published: Foundation for Open Access Statistics 2021-02-01
Series:Journal of Statistical Software
Subjects:
Online Access:https://www.jstatsoft.org/index.php/jss/article/view/3596