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
y 'predict' has been left out of stats4. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Joris Meys Sent: 24 May 2018 13:17 To: R Package Development Subject: [R-pkg-devel] Creating S3 methods for S4 classes

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

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

2018-05-24 Thread Joris Meys
Dear all, per the manual, one should create and register both the S3 and a S4 method if one needs a method for an S4 class for a function using S3 dispatching. This is cumbersome, and not very optimal. I was wondering if there's a better way to do this. Currently I recreate a generic in my packag