Displaying 1 result from an estimated 1 matches for "inheritlist".
2010 Apr 24
3
S4 Inheritance of environments
...a: ".xData" instead of ".Data" and do not respond to the
2) Response to the is.* function seems to indicate that the object
does not know of its inheritance. ( Notably, the inherits function
works as expected. )
Here is a working illustration:
> # LIST
> setClass( 'inheritList', contains='list')
[1] "inheritList"
> inList <- new( 'inheritList' )
> class( inList )
[1] "inheritList"
attr(,"package")
[1] ".GlobalEnv"
> is.list( inList ) # TRUE
[1] TRUE
> slotNames(inList) # ".D...