search for: r_lookupmethod

Displaying 1 result from an estimated 1 matches for "r_lookupmethod".

2006 May 19
1
UseMethod infelicity
...ely clear where to search from as I think we need to avoid mycoef <- function(x) { mycoef <- function(x) stop("not this one") UseMethod("mycoef") } so I used ENCLOS(env). This adds some overhead, hopefully no more than searching for methods. BTW, I noticed that R_LookupMethod uses findVar, that is looks for any object not for functions: that must be another infelicity. -- 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...