Re: [R] Creating a list to store output objects from a recursive loop

2010-11-09 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 09.11.2010 10:26:09: > "Santosh Srinivas" > Odeslal: r-help-boun...@r-project.org > > 09.11.2010 10:26 > > > Re: [R] Creating a list to store output objects from a recursive loop > > Figured this out this

Re: [R] Creating a list to store output objects from a recursive loop

2010-11-09 Thread Uwe Ligges
On 09.11.2010 09:51, Santosh Srinivas wrote: Dear Group, I am having a function that I am running in a loop that generated two results for each loop The result1 is a zoo object The result2 is a data frame Now I want to put both of them in a list Just generate a list of lists, the latter li

Re: [R] Creating a list to store output objects from a recursive loop

2010-11-09 Thread Santosh Srinivas
Figured this out this ways I think outPut <- list(list(result1),list(result2)) -Original Message- From: Santosh Srinivas [mailto:santosh.srini...@gmail.com] Sent: 09 November 2010 14:21 To: 'r-help@r-project.org' Subject: Creating a list to store output objects from a recursive loop Dea

[R] Creating a list to store output objects from a recursive loop

2010-11-09 Thread Santosh Srinivas
Dear Group, I am having a function that I am running in a loop that generated two results for each loop The result1 is a zoo object The result2 is a data frame Now I want to put both of them in a list or some structure ... that I can access or output to a file after the loop is done. For e.g.