Skip to content

Conflict between embedded R and use of NSString class method

4 messages · Paul Johnson, Simon Urbanek

#
On Oct 28, 2012, at 2:37 PM, Paul Johnson wrote:

            
I strongly prefer using R_NO_REMAP since there are a lot of "gotchas" when using shortened R names including the "error" one.

Cheers,
Simon
#
On Oct 28, 2012, at 7:03 PM, Paul Johnson wrote:

            
Unsurprisingly - you can't set R_NO_REMAP for everything since you don't want to set it for the engine itself. What I meant is that I would simply add
#define R_NO_REMAP
before you include any R header or (if you don't use any R headers directly) before
#include "REngine.h"

Cheers,
Simon