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

Randy Lai randy.cs.lai at gmail.com
Sat Mar 29 09:12:32 CET 2014


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 <florian.burkart at gmail.com> 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 main thread).
> 
> Didn't happen on the old machine. Old version was 2.14. Now on 3.0.3.
> 
> Not sure whats going on.
> 
> Florian
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list