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 alternative?
(It seems this question must have arisen before, but I haven't found an answer) Murray
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel