[R-pkg-devel] R-extension requirement about third-party random number generators (RNG)
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Fri Sep 27 17:16:59 CEST 2024
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 | edd using debian.org
More information about the R-package-devel
mailing list