> David Hugh-Jones
> on Tue, 14 Mar 2017 02:46:35 + writes:
> David Hugh-Jones
> on Tue, 14 Mar 2017 02:46:35 + writes:
> Hi,
> Cross-posted from SO:
>
http://stackoverflow.com/questions/42776058/extending-an-s3-generic-from-an-optional-package
((s
Thank you for this info and the suggestion!
David
On Tue, 14 Mar 2017 at 09:06, Martin Maechler
wrote:
> > David Hugh-Jones
> > on Tue, 14 Mar 2017 02:46:35 + writes:
> > David Hugh-Jones
> > on Tue, 14 Mar 2017 02:46:35 + writes:
>
> > Hi,
> > Cross-pos
Just out of interest, what would happen if I used the hacky solution of
simply exporting my own method like:
as.FlexTable <- function(x, ...) UseMethod("as.FlexTable")
I am fairly sure you will tell me that fire and brimstone will rain down…
But it sure seems simple compared to writing anothe
> David Hugh-Jones
> on Tue, 14 Mar 2017 09:26:49 + writes:
> Just out of interest, what would happen if I used the hacky solution of
> simply exporting my own method like:
> as.FlexTable <- function(x, ...) UseMethod("as.FlexTable")
> I am fairly sure you will
Hi Martin,
Thanks. I figured that out after trying it myself, so I didn't do that.
OTOH, a whole new package just so I can extend a method... I feel that life
is too short. So, I cut the Gordian knot and just wrote as_FlexTable
instead of as.FlexTable, and skipped the whole inheritance issue.
Che