anon36
2009-May-21 09:53 UTC
[R] "Error: C stack usage is too close to the limit" (can't understand explanations of how to fix this)
Apparently the way to deal with this error message is to set R_CStackLimit = (uintptr_t)-1 I tried typing this in the R console, but it says Error: object "R_CStackLimit" not found. So where do I type it? In one of the initialization files that R uses when it starts up? I can't find the answer anywhere. Please note that I don't understand words like "DLL" or "embed", and I don't understand how R works at any deep level. I am using R 2.8.1 on Windows XP. -- View this message in context: http://www.nabble.com/%22Error%3A-C-stack-usage-is-too-close-to-the-limit%22-%28can%27t-understand-explanations-of-how-to-fix-this%29-tp23650518p23650518.html Sent from the R help mailing list archive at Nabble.com.
goon83
2009-May-23 12:12 UTC
[R] "Error: C stack usage is too close to the limit" (can't understand explanations of how to fix this)
you can find the R_CStackLimit in Rinterface.h after that you will know how to use it! ÔÚ2009-05-21?17:53:54£¬anon36?<anon36@yahoo.com>?дµÀ£º> >Apparently?the?way?to?deal?with?this?error?message?is?to?set >??R_CStackLimit?=?(uintptr_t)-1 >I?tried?typing?this?in?the?R?console,?but?it?says?Error:?object >"R_CStackLimit"?not?found. >So?where?do?I?type?it??In?one?of?the?initialization?files?that?R?uses?when >it?starts?up? >I?can't?find?the?answer?anywhere.?Please?note?that?I?don't?understand?words >like?"DLL"?or?"embed",?and?I?don't?understand?how?R?works?at?any?deep?level. >I?am?using?R?2.8.1?on?Windows?XP.? >--? >View?this?message?in?context:?http://www.nabble.com/%22Error%3A-C-stack-usage-is-too-close-to-the-limit%22-%28can%27t-understand-explanations-of-how-to-fix-this%29-tp23650518p23650518.html >Sent?from?the?R?help?mailing?list?archive?at?Nabble.com. > >______________________________________________ >R-help@r-project.org?mailing?list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE?do?read?the?posting?guide?http://www.R-project.org/posting-guide.html >and?provide?commented,?minimal,?self-contained,?reproducible?code.[[alternative HTML version deleted]]