Thanks arun and weylandt,it perfectly worked out..
elisa

> From: michael.weyla...@gmail.com
> Date: Mon, 7 Jan 2013 16:37:53 +0000
> Subject: Re: [R] list of lists to matrix
> To: eliza_bo...@hotmail.com
> CC: r-help@r-project.org
> 
> Something like
> 
> do.call(cbind, lists)
> 
> ?
> 
> MW
> 
> On Mon, Jan 7, 2013 at 4:13 PM, eliza botto <eliza_bo...@hotmail.com> wrote:
> >
> > dear R family,
> > [a text file has been attached for better understanding]
> > i have a list of 16 and each of of that is further subdivided into variable 
> > number of lists. So, i have a kind of list into lists phenomenon.
> > [[1]]$'1'
> > 1       2      3   4       5      6
> > 7      8       9
> >
> > [[1]]$'2'
> > 1       2      3   4       5      6
> > 7      8       9
> > i want to convert both these sublists into one column and then cbind it in 
> > the following way
> > col1     col2
> > 1           1
> > 2           2
> > 3           3..
> > 9         9
> >
> > i want to the same operations on all the 16 lists.
> > thanks in advance,
> >
> > elisa
> > ______________________________________________
> > R-help@r-project.org 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.
> >
                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to