[R] getMethod in a setMethod context

Michael Mader m.mader at gsf.de
Sun Mar 9 14:46:57 CET 2003


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
D-80937 Neuherberg
0049-89-3187-3576
 
In statistics, some people worry about not seeing the forest for the
trees.
I like to look at the bark. (C. R. Blyth, 1967)



More information about the R-help mailing list