Re: [R] Problem with generic methods

2009-06-08 Thread Rainer M Krug
On Sat, Jun 6, 2009 at 12:14 AM, Martin Morganmtmor...@fhcrc.org wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi I want to create a new generic method, but I end up with an error (evaluation nested too deeply). see the transcript below. The function beginYear.Fun() works, but not

Re: [R] Problem with generic methods

2009-06-08 Thread Martin Maechler
RMK == Rainer M Krug r.m.k...@gmail.com on Mon, 8 Jun 2009 11:18:17 +0200 writes: RMK On Sat, Jun 6, 2009 at 12:14 AM, Martin Morganmtmor...@fhcrc.org wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi I want to create a new generic method, but I end up with

[R] Problem with generic methods

2009-06-05 Thread Rainer M Krug
Hi I want to create a new generic method, but I end up with an error (evaluation nested too deeply). see the transcript below. The function beginYear.Fun() works, but not beginYear. I have no idea why. Any ideas welcome, Rainer setClass(fun, representation(x = numeric)) [1] fun new(fun) An

Re: [R] Problem with generic methods

2009-06-05 Thread Uwe Ligges
Rainer M Krug wrote: Hi I want to create a new generic method, but I end up with an error (evaluation nested too deeply). see the transcript below. The function beginYear.Fun() works, but not beginYear. I have no idea why. Any ideas welcome, Rainer setClass(fun, representation(x =

Re: [R] Problem with generic methods

2009-06-05 Thread Martin Morgan
Rainer M Krug r.m.k...@gmail.com writes: Hi I want to create a new generic method, but I end up with an error (evaluation nested too deeply). see the transcript below. The function beginYear.Fun() works, but not beginYear. I have no idea why. Any ideas welcome, Rainer setClass(fun,