Re: [R] getMethod in a setMethod context

2003-03-09 Thread Michael Mader
Hi Laurent, what about something like setMethod(f, signature(B), definition=function(obj){ f(as(obj, A) }, where=where) Cheers Michael -- Michael T. Mader Institute for Bioinformatics/MIPS, GSF Ingolstaedter Landstrasse 1

Re: [R] getMethod in a setMethod context

2003-03-09 Thread Luke Tierney
On Sun, 9 Mar 2003, Michael Mader wrote: Hi Laurent, what about something like setMethod(f, signature(B), definition=function(obj){ f(as(obj, A) }, where=where) Cheers Michael May not be what you want if the method