Re: [R] obtaining the name of a named list

2004-05-16 Thread Uwe Ligges
Ned wrote: I have a list d, in which the names of each elements are single characters, and the actual elements are bit sequences representing those characters. If I type d[1], I get the name and the bit sequence. If I type d[[1]], I get only the bit sequence. d[1] returns a list of length 1, whi

[R] obtaining the name of a named list

2004-05-16 Thread Ned
I have a list d, in which the names of each elements are single characters, and the actual elements are bit sequences representing those characters. If I type d[1], I get the name and the bit sequence. If I type d[[1]], I get only the bit sequence. What I want is some way to be able to get the