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

2007-08-31 Thread Ptit_Bleu
In fact I read "R pour les debutants" by Emmanuel Paradis but I didn't find the solution. Then I looked for on R-Help with no result. Again I do aplologize for this silly question and I thank you for the solution (second one). Ptit Bleu (who won't send others silly questions in the future) jih

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

2007-08-31 Thread jiho
On 2007-August-31 , at 10:17 , Ptit_Bleu wrote: >> x<-list(LETTERS[1:5], LETTERS[10:20]) not sure to have understood exactly what you meant. if you want to search for the D in the list: lapply(x,charmatch,"D") should get you started. if you just want to know the syntax to extract an ele

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

2007-08-31 Thread Felix Andrews
x[[1]][4] On 8/31/07, Ptit_Bleu <[EMAIL PROTECTED]> wrote: > Hi, > > 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,

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

2007-08-31 Thread Ptit_Bleu
Hi, 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.