[R] problem with list

Houix Olivier houix at ircam.fr
Fri Oct 27 12:24:50 CEST 2000


Hello,
I've some problems to concatenate elements of a list:
> s1
[1] 1 2 3 4
> s2
[1] 6 7
> l <- list(s1,s2)
> l
[[1]]
[1] 1 2 3 4

[[2]]
[1] 6 7

but now I want to get this:

> l
[[1]]
[1] 1 2 3 4

[[2]]
[1] 6 7
[[3]]
[1] 1 2 3 4 6 7 ## l[1] with  l[2]

Someone can help me?

Thanks

Olivier Houix

-- 
Olivier Houix  <houix at ircam.fr>             tel: 01 44 78 15 51
Equipe Perception et Cognition Musicales    http://www.ircam.fr/  
IRCAM   1 place Igor Stravinsky             75004         Paris
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list