[Rd] Failure to load the recommended package Matrix (Was: [R] Can one get a list of recommended packages?)

2010-06-13 Thread Douglas Bates
On Sun, Jun 13, 2010 at 8:28 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 13.06.2010 01:09, Dr. David Kirkby wrote: On 06/12/10 05:27 PM, Douglas Bates wrote: On Sat, Jun 12, 2010 at 8:37 AM, Dr. David Kirkby david.kir...@onetel.net wrote: R 2.10.1 is used in the Sage maths

[Rd] S4 classes and S3 generic functions

2010-06-13 Thread John Chambers
A general goal for the next version of R is to make S4 and S3 play better together. As mentioned in a previous thread, one limitation has been that S3 generic functions, specifically the UseMethod() call, did not make use of S4 inheritance when dispatching on general S4 objects. This has

Re: [Rd] S4 classes and S3 generic functions

2010-06-13 Thread Gabor Grothendieck
On Sun, Jun 13, 2010 at 6:58 PM, John Chambers j...@r-project.org wrote: A general goal for the next version of R is to make S4 and S3 play better together. As mentioned in a previous thread, one limitation has been that S3 generic functions, specifically the UseMethod() call, did not make

Re: [Rd] S4 classes and S3 generic functions

2010-06-13 Thread John Chambers
There are number of examples in the documentation, as noted, illustrating different situations. Here is one of them. Of course, to enter and run it you need rev 52267. --- setClass(classA, contains = numeric, representation(realData = numeric)) Math.classA - function(x)