Re: [Rd] How to disable R's C stack checking

From: Simon Urbanek <>
Date: Mon, 16 Jul 2007 12:35:08 -0400

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).

Simon mailing list Received on Mon 16 Jul 2007 - 17:38:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jul 2007 - 22:36:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.