[R] Problem of vocabulary : retrieve element of a list of a list

Ptit_Bleu ptit_bleu at yahoo.fr
Fri Aug 31 10:17:45 CEST 2007


I read the posts for 2 hours and ?list and tried many comninations but I
haven't found the answer to this basic question. So I decided to post my
question even if it is a silly one ...

What is the instruction to retrieve, for example, the "D" of the first list
Thanks in advance,
Ptit Bleu.

> x<-list(LETTERS[1:5], LETTERS[10:20])
> x
[1] "A" "B" "C" "D" "E"

 [1] "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T"

View this message in context: http://www.nabble.com/Problem-of-vocabulary-%3A-retrieve-element-of-a-list-of-a-list-tf4358872.html#a12422479
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list