Re: [Rd] Error: C stack usage is too close to the limit

2014-03-29 Thread Simon Urbanek
On Mar 29, 2014, at 4:12 AM, Randy Lai wrote: > I have similar experience previously. What I done was disabling stack limit > checking > >R_CStackLimit = -1; > > and increasing the stack size to .16*1024*1024. > > Hope it helps. > Well, it will result in R crashing instead :) So be ca

Re: [Rd] Error: C stack usage is too close to the limit

2014-03-29 Thread Randy Lai
I have similar experience previously. What I done was disabling stack limit checking R_CStackLimit = -1; and increasing the stack size to .16*1024*1024. Hope it helps. Randy On Mar 28, 2014, at 2:55 PM, Florian Burkart wrote: > Hi, > > I have been using my own C++ plugin for a whil

Re: [Rd] Error: C stack usage is too close to the limit

2014-03-28 Thread Prof Brian Ripley
On 28/03/2014 21:55, Florian Burkart wrote: Hi, I have been using my own C++ plugin for a while. On a new machine I now keep getting the C stack usage is too close to the limit error. I played with it and it appears to come after I printed a fixed number of text to R via Rprintf (not from the

[Rd] Error: C stack usage is too close to the limit

2014-03-28 Thread Florian Burkart
Hi, I have been using my own C++ plugin for a while. On a new machine I now keep getting the C stack usage is too close to the limit error. I played with it and it appears to come after I printed a fixed number of text to R via Rprintf (not from the main thread). Didn't happen on the old machi

Re: [Rd] error: C stack usage is too close to the limit.

2008-05-28 Thread Jeffrey Horner
rapache version 1.0.4 and earlier attempted to turn off stack-checking *before* initializing R. After reading the source, it seems that it should turn it off *after* initializing R. I've fixed this in the latest release of 1.0.5. Sorry for the confusion; it's hard to understand just from readi

Re: [Rd] error: C stack usage is too close to the limit.

2008-05-27 Thread Prof Brian Ripley
Please look it up in 'Writing R Extensions'. Especially in the discussion around 'There is a potential issue with the stack-checking mechanism where threads are involved.' This is an issue for the author of RApache, who it seems has not turned off C stack checking in the version you are using

[Rd] error: C stack usage is too close to the limit.

2008-05-27 Thread jeroenooms
I am trying to set up a RApache server on my Ubuntu 8.04. I have installed apache2, R-2.7.0, and the RApache plugin. Both Apache and R seem to work fine, but whenever i try to use the plugin i get this error: C stack usage is too close to the limit. I have tried to recompile apache2, R, and RApac