Thomas Kelder wrote: [...] > By the way, I use R version 2.2.1 in linux, because I got the "Error: > C stack usage is too close to the limit R" error in higher versions (I > saw there was a topic about this already: > https://stat.ethz.ch/pipermail/r-devel/2006-April/037219.html). I > tried to use the R-devel version to make use of the Rf_endEmbeddedR > method, but the error also occurs in this version. Could this be a > bug?
Try this in your code. It turns off stack checking altogether: #ifdef CSTACK_DEFNS /* Don't do any stack checking */ R_CStackLimit = -1; #endif Rf_initEmbeddedR(R_argc, R_argv); Jeff -- http://biostat.mc.vanderbilt.edu/JeffreyHorner ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel