Skip to content
Prev 59414 / 398502 Next

accessing the attributes of a list inside lapply()

Hi,

What about:

 >  as.list(names(l))
[[1]]
[1] "a"

[[2]]
[1] "b"

[[3]]
[1] "c"


HTH,

Eric
At 15:59 19/11/2004, Adrian Alexa wrote: