[R] Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Jun 29 09:45:44 CEST 2006


Aarti Dahiya wrote:
> I am getting this error:- Error: evaluation nested too deeply: infinite 
> recursion / options(expressions=)? The reason is probbaly because I am 
> calling methods within methods.

Maybe at some point you get an infinite recursion because you forgot to 
"unclass" something?


> I read related posts.  It said the solution is to set  options(expressions = 
> 1000). I wanted to know where in my code or system to set 
> options(expressions = 1000)?


Bewore you start the problematic code, but probably you really have 
infinite recursion ....

Uwe Ligges


> Thanks.
> 
> Aarti
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



More information about the R-help mailing list