Re: [R] list of lists to matrix

2013-01-08 Thread John Kane
ON Canada -Original Message- From: eliza_bo...@hotmail.com Sent: Mon, 7 Jan 2013 16:13:03 + To: r-help@r-project.org Subject: [R] list of lists to matrix 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

[R] list of lists to matrix

2013-01-07 Thread eliza botto
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

Re: [R] list of lists to matrix

2013-01-07 Thread R. Michael Weylandt
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

Re: [R] list of lists to matrix

2013-01-07 Thread eliza botto
Thanks arun and weylandt,it perfectly worked out.. elisa From: michael.weyla...@gmail.com Date: Mon, 7 Jan 2013 16:37:53 + 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