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 [dpqr]wilcox functions are available when using a user-defined RNG. The 
sections in the R manuals describing the standalone Rmath library could note 
this need.

The code above compiles on Ubuntu 22.04 LTS on x86_64 using both 
src/nmath/standalone/* and using the r-mathlib package on Debian.

-- Mark


När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI 
kommer att behandla dina personuppgifter. Här finns information om hur KI 
behandlar personuppgifter<https://ki.se/medarbetare/integritetsskyddspolicy>.


Sending email to Karolinska Institutet (KI) will result in KI processing your 
personal data. You can read more about KI’s processing of personal data 
here<https://ki.se/en/staff/data-protection-policy>.
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to