Skip to content

Help: extrac the first entry for each component of a list

2 messages · Chee Chen, Gustavo Carvalho

#
sapply(a, `[`, 1)
On Wed, Aug 24, 2011 at 12:18 AM, Chee Chen <chee.chen at yahoo.com> wrote: