Re: [Rd] How to set R_CStackLimit

2007-06-28 Thread Prof Brian Ripley
First, Rinterface.h is not installed on Windows, so you must be using a header from within the R sources. You do so at your own peril! R_CStackLimit is only described in a Unix-specific section of 'Writing R Extensions'. The description there and Rinterface.h is designed for Unix compilers, n

[Rd] How to set R_CStackLimit

2007-06-28 Thread Xiaoning
Hi, I have tried to disable stack checking by set R_CStackLimit to -1. However, it always crashes my win32 multiple threads program. I am using R-2.5.0. My code looks like: #include #if (R_VERSION >= R_Version(2,3,0)) #define R_INTERFACE_PTRS 1 #define CSTACK_DEFNS 1 #include #endif and t