Skip to content
Prev 18812 / 63461 Next

NextMethod causes R 2.2.0 to crash (PR#8416)

Bill,

This is a 2.2.0 Windows problem, solved in 2.2.1.  What happened was that 
someone trying to be helpful increased the evaluation nesting limit in 
2.1.0, and Windows has a small C stack (2Mb) which can easily be exceeded.
I now get
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

as I should.  The nesting limit has been reduced and the C stack size 
increased.

It is legitimate to call NextMethod in a default method, but it is all too 
easy to get loops.  In your case you want the Date method, not the next 
method (which since there is only one class will be the default).

I would advise Windows users of 2.2.0 to

1) update
2) if that is not possible, set options(expressions=1000).

Brian
On Wed, 21 Dec 2005 Bill.Venables at csiro.au wrote: