[R] Find S4 Generic?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Dec 18 00:37:51 CET 2006


Do you want E (type 'E') or its methods (getMethods(E) works for me)?

On Sun, 17 Dec 2006, Spencer Graves wrote:

>      How can I get the R code for "E" in the "distrEx" package?  The
> function call 'dumpMethods("E", "E.R")' created "E.R" in the working
> directory.  Unfortunately, it apparently contains 0 bytes.

See ?dumpMethods: you need to specify 'where' (as it says you may).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list