From daniel.sabanesbove at campus.lmu.de  Sat Oct 11 21:41:15 2008
From: daniel.sabanesbove at campus.lmu.de (=?ISO-8859-15?Q?Daniel_Saban=E9s_Bov=E9?=)
Date: Sat, 11 Oct 2008 21:41:15 +0200
Subject: [Rd] defines in Rmath.h and R_NO_REMAP
Message-ID: <48F1015B.9010406@campus.lmu.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'm programming with R 2.7.2 and had some trouble including
Rmath.h for its random variates generation routines: Although
I define R_NO_REMAP (which works fine for Rinternals.h stuff),
Rmath.h defines "beta" as "Rf_beta" etc., so that my "beta" strings
get redefined as well! Is this a feature?

I found an old Rmath.h version from 2000,
which seems to obey the R_NO_REMAP flag, but the present version
only obeys the math library standalone flag and ignores R_NO_REMAP.

As a bad workaround I defined some forwarding functions and
included Rmath.h in a separate part of the code... but this is not
very beautiful.

Thanks,
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEAREKAAYFAkjxAVsACgkQnhBrrSA4m1EMsQCdGIQ/UH+E8fRtPL5fOdhW2r3/
n9cAn3sueVFTMHEY2/a5oAHH+lapA5bF
=wmwk
-----END PGP SIGNATURE-----



[Rd] defines in Rmath.h and R_NO_REMAP
=?ISO-8859-15?Q?Daniel_Saban=E9s_Bov=E9?=