Dear Prof. Ripley,
thank you for the pointer to #undef;
I used it the first time now and put
// undo Rmath.h madness ;-)
#ifdef beta
#undef beta
#endif
in my (templates) header file. It works, and it is much
nicer than my forwarding functions.
Prof Brian Ripley schrieb:
> If you read the 'Writi
If you read the 'Writing R Extensions' manual it only mentions
R_NO_REMAP in conjuction with Rinternals.h and R_ext/Error.h.
So yes, it is intentional that it does not work for Rmath.h. If you would
like it to, remember we often say 'patches will be considered'. But see
the inline comment be