When a list contains non-list objects without names, they are lost, as in the following:
> a = list(a=1,2, list(c=2))
> b =as.Node(a)
> b
levelName
1 Root
2 °--1
> b$fields
[1] "a"
As you can see, the first object, a, is captured, and the third object, an unnamed list, is also captured, but the unnamed object, 2, disappears. These fields should be captured and named. I'll see what I can do. Should their names be numbers, as with unnamed list objects? Or some other designation, .1, .2, perhaps?
When a list contains non-list objects without names, they are lost, as in the following:
As you can see, the first object,
a, is captured, and the third object, an unnamed list, is also captured, but the unnamed object,2, disappears. These fields should be captured and named. I'll see what I can do. Should their names be numbers, as with unnamed list objects? Or some other designation,.1,.2, perhaps?