Re: [Rd] Query super- and subclasses of a class: is there a better way than to use 'completeClassDefinition()'

2011-06-01 Thread Janko Thyson
Hi Martin, right, that's exactly what I thought. Thanks for the pointer to 'getClassDef()'. Pretty obvious place to start, I have to admit ;-) But I had this 'completeClassDefinition()' thing in a function I've written long long ago where I didn't really know my way around class details yet.

Re: [Rd] Query super- and subclasses of a class: is there a better way than to use 'completeClassDefinition()'

2011-05-31 Thread Martin Morgan
On 05/30/2011 08:54 AM, Janko Thyson wrote: Dear List, when I first started to use S4 classes, I used the function 'completeClassDef()' in order to see the super- and subclasses of a certain class: Hi Janko -- I think 'complete' is meant as an adverb here; what you might want is

[Rd] Query super- and subclasses of a class: is there a better way than to use 'completeClassDefinition()'

2011-05-30 Thread Janko Thyson
Dear List, when I first started to use S4 classes, I used the function 'completeClassDef()' in order to see the super- and subclasses of a certain class: setClass(Class=A, representation=list(a=numeric)) setClass(Class=B, contains=A, representation=list(b=character)) # Super x -