Re: [Rpy] Fwd: R while loop

2008-01-15 Thread richard mendes
hope this is helpful, > mike > > - Original Message > From: richard mendes <[EMAIL PROTECTED]> > To: "RPy help, support and design discussion list" < > rpy-list@lists.sourceforge.net> > Sent: Tuesday, January 15, 2008 12:03:43 PM > Subject:

Re: [Rpy] Fwd: R while loop

2008-01-15 Thread Michael ODonnell
pe this is helpful, mike - Original Message From: richard mendes <[EMAIL PROTECTED]> To: "RPy help, support and design discussion list" Sent: Tuesday, January 15, 2008 12:03:43 PM Subject: Re: [Rpy] Fwd: R while loop Hello Sean, The code that i was using was simpl

Re: [Rpy] Fwd: R while loop

2008-01-15 Thread Barry Rowlingson
richard mendes wrote: > Hello Sean, > The code that i was using was simply pasting the same code in python. > r("i<-1") # i should use the attach statement i think > r("while (i <= length(groups) ) {") > r("png(file=sprintf('MAplot%03d.png', i), width=600, height=600)") > r("MAplot(rawAffyData, pa

Re: [Rpy] Fwd: R while loop

2008-01-15 Thread richard mendes
Hello Sean, The code that i was using was simply pasting the same code in python. r("i<-1") # i should use the attach statement i think r("while (i <= length(groups) ) {") r("png(file=sprintf('MAplot%03d.png', i), width=600, height=600)") r("MAplot(rawAffyData, pairs=TRUE, plot.method='smoothScatt

Re: [Rpy] Fwd: R while loop

2008-01-15 Thread Sean Davis
On Jan 15, 2008 1:38 PM, richard mendes <[EMAIL PROTECTED]> wrote: > > Hello Rpy users, > > Probably a very simple question but i couldn't find the answer in the > documentation. > i have a r script which uses a while loop, how should i execute this in > rpy ? > > the script looks like: > > i<-1 >