[Rd] R compilation (revision 87083) failed after upgrade to Ubuntu 24.04 (libtirpc missing)

2024-09-01 Thread Mark Clements via R-devel
Following an upgrade from Ubuntu 22.04 LTS to 24.04.1, revision 87083 failed to compile with an error: "No rule to make target '/usr/include/tirpc/rpc/types.h', needed by 'saveload.o'" where the file /usr/include/tirpc/rpc/types.h did not exist. After installing libtirpc-dev: > sudo apt insta

[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