Re: [Rd] Method dispatch for function

2009-11-25 Thread Martin Maechler
> "SM" == Stavros Macrakis > on Mon, 23 Nov 2009 11:24:24 -0500 writes: SM> (I had sent this to r-help and got no responses -- perhaps r-devel is SM> a better list for this question?) Definitely better, yes. SM> How can I determine what S3 method will be called for a par

[Rd] Method dispatch for function

2009-11-23 Thread Stavros Macrakis
(I had sent this to r-help and got no responses -- perhaps r-devel is a better list for this question?) How can I determine what S3 method will be called for a particular first-argument class? I was imagining something like functionDispatch('str','numeric') => utils:::str.default , but I can't fi