[Rd] Some new things in r-devel

John Chambers jmc@research.bell-labs.com
Thu, 28 Mar 2002 14:43:08 -0500


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

-- 
John M. Chambers                  jmc@bell-labs.com
Bell Labs, Lucent Technologies    office: (908)582-2681
700 Mountain Avenue, Room 2C-282  fax:    (908)582-3340
Murray Hill, NJ  07974            web: http://www.cs.bell-labs.com/~jmc
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._