[Rd] User-defined RNG with the standalone Rmath library

2023-02-21 Thread Mark Clements via R-devel
As a follow-up: I provide examples using the standalone Rmath library with the Mersenne Twister RNG at https://gist.github.com/mclements/3668c89d73e4504f323ca57a71c65602 and https://github.com/mclements/rmath_mt/ Note that rwilcox() uses R_unif_index(), which needs to be re-defined so that the

[Rd] User-defined RNG with the standalone Rmath library

2023-02-16 Thread Mark Clements via R-devel
I have two questions about using a user-defined random number generator (RNG) with the standalone Rmath library. The default RNG with the standalone Rmath library is the Marsaglia-multicarry generator, which has poor properties. The "R Installation and Administration" manual, in the section "The