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

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

2018-05-24 Thread Georgi Boshnakov
quot;) 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 Package Development Subject: Re: [R-pk

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

2018-05-24 Thread Georgi Boshnakov
' 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 Dear all, per

[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