Skip to content

Some new things in r-devel

1 message · John Chambers

#
Some code committed today includes:

1.  the recover() interactive browser moved into base from the methods
package (see ?recover)

2.  an extended version of trace() that allows interactive browsing in
the style of S and S-Plus.  This is in the methods package because it
uses classes, but it can be applied to any function.  See ?trace after
library(methods).

3.  Formal classes can have intializer methods to modify how the new()
function works.  See ?initialize.

4.  The behavior of setGeneric should be more sensible, with respect to
nonstandard generics and default methods.

5.  Classes that have a "data part" (that extend, e.g., numeric or
function) should behave better.

6.  A NextMethod mechanism for the methods package (introduced
previously and fixed up some this time).  See ?callNextMethod.

Testing appreciated.

John