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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to