[snip]
>
> or (I can't resist)
>
> unlist(lapply(v,function(x,i){x[i]},i=2)) # For more
> flexibility.
Well, if we are not resisting the fun ones then try:
sapply( v, `[`, i=2)
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.