The R Project SVN R

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
52864 5808 d 3 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
51322 5975 d 12 h hornik /trunk/ Typos and markup.  
51304 5977 d 2 h jmc /trunk/ getMethods() deprecated; new class listOfMethods  
50609 6084 d 18 h jmc /trunk/ Changes to fix efficiency in dispatch, potential recursive loops, and
incorrect signatures, all for S4 methods for primitive functions.

1. A bug in get_primitive_methods prevented all quick dispatch of primitives from
working. Fixing this exposed a problem in quickDispatch in methods
that prevented matching methods with traiiling "missing" in the
signature.

2. A mechanism was added to temporarily turn off all dispatch of methods for
primitives. The code for findInheritedMethods activates the
mechanism. At the moment, this is just for efficiency, but in
principle it could be needed to avoid recursive calls to
findInheritedMethods.

3. The signatures for "$" and "$<-" were modified to remove "name",
since the grammar prevents general objects for this argument.

Some additional changes were tested but not installed to allow a
general signature in methods for "[", "[[" and their replacement
versions. Problems found with the Matrix package for this change. See
the commented calls to DiispatchAnyOrEval in src/main.
 
50418 6101 d 10 h ripley /trunk/src/library/methods/man/ more on comment lines in Rd files  
46973 6461 d 5 h ripley /trunk/src/library/ more missing copyright headers
small clarification
 
44805 6705 d 3 h jmc /trunk/ All direct use of MethodsList metadata objects (and most indrect) removed; new utilities findMethods, etc