From: Luke <jyzz88_at_gmail.com>

Date: Tue 17 May 2005 - 10:50:32 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 17 11:00:11 2005

Date: Tue 17 May 2005 - 10:50:32 EST

I have a simple question, but I couldn't find the answer in R manuals.

How to use list index to get a vector of, say, the first elements of
list elements?

That is, how to get a vector c(1, 11, 111) from foo?

foo[[]][1] doesn't work.

-Luke

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 17 11:00:11 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:31:46 EST
*