search for: howmethodswork

Displaying 5 results from an estimated 5 matches for "howmethodswork".

2006 Aug 30
2
S4 Methods dispatch
...ned and one of the closest matches is chosen. The old selection took the first candidate found, so the current version is better defined, and will also let us experiment with various tuning & strategies. There is a draft paper describing method selection at http://developer.r-project.org/howMethodsWork.pdf (It's a document in progress, so go back in a few days for a revised version.) If a package uses inheritance for method selection with multiple arguments, there may well be changes in behavior. We found examples in both methods itself and in Matrix that needed attention. John
2006 Sep 15
1
setMethod() woes
Hello everybody R version 2.4.0 alpha (2006-09-15 r39323), MacOSX 10.4.7 Next S4 problem. I have "brob" objects that are large real numbers, and now I want "glub" numbers that are to be a pair of glubs that represent complex numbers. I want to define binary operator "+" so that if either the left or right argument are glubs, it uses .ArithGlub. If either
2008 Aug 10
2
Basic data structures
I'm new to R and very excited about its possibilities. But I'm struggling with some very simple things, probably because I haven't found the correct documentation. Here's a simple example which illustrates several of my problems. Suppose I want to have a regexp match against a string, and return all the matching substrings in a vector of strings. regexp <-
2006 Oct 03
1
R-2.4.0 is released
...ary objects, including class definitions, will be inconsistent with the type, and should be recreated. o S4 method dispatch has been completely revised to use cached generic functions and to search for the best match among inherited methods. See ?Methods and http://developer.r-project.org/howMethodsWork.pdf o Objects created from an S4 class are now marked by an internal flag, tested by isS4() in R and by macro IS_S4_OBJECT() in C. This is an efficient and reliable test, and should replace all earlier heuristic tests. o Some changes have been made to automatic printing of S4 objects...
2006 Oct 03
1
R-2.4.0 is released
...ary objects, including class definitions, will be inconsistent with the type, and should be recreated. o S4 method dispatch has been completely revised to use cached generic functions and to search for the best match among inherited methods. See ?Methods and http://developer.r-project.org/howMethodsWork.pdf o Objects created from an S4 class are now marked by an internal flag, tested by isS4() in R and by macro IS_S4_OBJECT() in C. This is an efficient and reliable test, and should replace all earlier heuristic tests. o Some changes have been made to automatic printing of S4 objects...