Skip to content
Prev 25102 / 63424 Next

list element names in S4 class extending list

can list names attributes be preserved through S4
class containment?  seems to be so but only if the containment
relationship is direct ... see below.
[1] "c1"
[1] "a" "b"
[1] "c2"
NULL
R version 2.6.0 Under development (unstable) (2007-05-11 r41535)
powerpc-apple-darwin8.9.0

locale:
C

attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods"
[7] "base"