Skip to content

A question on list and lapply

1 message · William Dunlap

#
Yes, my example should have either applied lapply to
     structure(seq_along(bases), names=names(bases))
instead of just
     seq_along(bases)
or added the names(bases) to the ouput of lapply  (assuming
one wanted the names of 'bases' on the output).

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com