Nagler, T. (2021) “R-Friendly Multi-Threading in C++”, Journal of Statistical Software, Code Snippets, 97(1), pp. 1–18. doi: 10.18637/jss.v097.c01.