Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-25 Thread Georgi Boshnakov
Dear Martin, Thanks for the clarification and sorry for the noise. Georgi -Original Message- From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] Sent: 25 May 2018 09:11 To: Georgi Boshnakov Cc: joris.m...@ugent.be; R Package Development Subject: Re: [R-pkg-devel] Creating S3

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-25 Thread Martin Maechler
> Georgi Boshnakov > on Thu, 24 May 2018 16:07:43 + writes: > Hi Joris, At least some aspects of this topic are of > interest on this list, given its complexity. I'm sorry, Georgi, but "of interest" (to some readers) still does not make this the correct mailing list for t

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-24 Thread Georgi Boshnakov
object Use showMethods("coef") for currently available ones. === -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Georgi Boshnakov Sent: 24 May 2018 15:38 To: joris.m...@ugent.be; R Pac

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-24 Thread Georgi Boshnakov
My understanding is that the S3 methods guard against situations where only S3 dispatch is done, e.g. by some internal generics. It may well be that for 'predict' this is not theoretical possibility. I second your suggestion about predict and stats4. I have wondered in the past why 'predict' h

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-24 Thread Martin Maechler
Dear Joris, in my eyes, this is clearly a Q that should be asked on R-devel, not R-package-devel ... > Joris Meys > on Thu, 24 May 2018 14:17:07 +0200 writes: > Dear all, per the manual, one should create and register > both the S3 and a S4 method if one needs a method for a