[Rd] How to disable R's C stack checking
Simon Urbanek
simon.urbanek at r-project.org
Mon Jul 16 18:35:08 CEST 2007
On Jul 6, 2007, at 6:57 AM, Ev Whin wrote:
> Hi all,
>
> I'm developing an application on Mac OS X Darwin which embeds R.
> However, the application always crashes due to the C stack checking.
> I know that R_CStackLimit can be set to -1 to disable the stack
> checking, but I don't know where to put the code "R_CStackLimit=-1".
>
After the call to Rf_initialize_R (and don't forget to define
CSTACK_DEFNS and include Rinterface.h).
Cheers,
Simon
More information about the R-devel
mailing list