On 27 September 2024 at 16:58, John Clarke wrote:
| [...] -- the RNG state management strategy appears almost 'magical' to me
| especially inside RCPP. It is possible, I just don't understand how to use it.

See Section 6.3 of WRE: The pair of GetRNGstate() and PutRNGstate() is all
there is in terms of an interface, and all we call (and old-school macros
ensure it ends in the generated glue code Rcpp produces for you). Pretty much
everything else around RNGSs is (quite) opaque (as Section 6.3 states) and
Rcpp does not go there.

Cheers,  Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to