Re: [Rd] Problem with defining new method for residuals()

2011-03-11 Thread ONKELINX, Thierry
Tukey -Oorspronkelijk bericht- Van: Martin Morgan [mailto:mtmor...@fhcrc.org] Verzonden: vrijdag 11 maart 2011 7:36 Aan: ONKELINX, Thierry CC: r-devel@r-project.org; John Chambers Onderwerp: Re: [Rd] Problem with defining new method for residuals() On 03/10/2011 08:21 AM

[Rd] Problem with defining new method for residuals()

2011-03-10 Thread ONKELINX, Thierry
Dear all, I'm writing a package and I would like to reuse the residuals() function. When I use a function which calls the redefined residuals (for my custom class) I get an error (see below). It looks like the wrong method is used. The strange this is, that when it execute the code manually it

Re: [Rd] Problem with defining new method for residuals()

2011-03-10 Thread Martin Morgan
On 03/10/2011 08:21 AM, ONKELINX, Thierry wrote: Dear all, I'm writing a package and I would like to reuse the residuals() function. When I use a function which calls the redefined residuals (for my custom class) I get an error (see below). It looks like the wrong method is used. The