Re: [R] Looping through multiple datasets already in memory

2011-09-09 Thread MatAra
Thanks for the valuable comments Greg and Patrick! Oddly enough, I am doing something very close to "Portfolio analysis with random selection"... Justin, thanks for recommending google - fantastic stuff. Cheers, Mateo -- View this message in context: http://r.789695.n4.nabble.com/Looping-throug

Re: [R] Looping through multiple datasets already in memory

2011-09-09 Thread William Dunlap
oftware wdunlap tibco.com > -Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Greg Snow > Sent: Friday, September 09, 2011 2:31 PM > To: MatAra; r-help@r-project.org > Subject: Re: [R] Looping through multiple datas

Re: [R] Looping through multiple datasets already in memory

2011-09-09 Thread Greg Snow
al Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of MatAra Sent: Friday, September 09, 2011 12:26 PM To: r-help@r-project.org Subject: [R] Looping through multiple datasets already in memory Gents, I have the following loop: for (i in (seq(along

[R] Looping through multiple datasets already in memory

2011-09-09 Thread MatAra
Gents, I have the following loop: for (i in (seq(along=Draw.1[,1]))) {print(i)} # from 1 - 5 (counter) for (i in (seq(along=Draw.1[,1]))) {print(Draw[i,4])} # from the 1 - column (passes parameter per column) Now: I have multiple Draws [Draw.1 - Draw.100] in memory with different "orders" Quest