[Rcpp-devel] Distribution functions threadsafe in RcppParallel?

Murray Efford murray.efford at gmail.com
Mon Apr 16 03:41:27 CEST 2018

I read in the RcppParallel blurb "The code that you write within parallel
workers should not call the R or Rcpp API in any fashion", which is
admirably clear. However, it leaves me without threadsafe access to
distribution functions (dpois, dbinom etc.). In practice, so far, these R
API calls seem to work for me, but can they be trusted? Is there an

(It seems this question must have arisen before, but I haven't found an

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180416/1b0f1e5e/attachment.html>

More information about the Rcpp-devel mailing list