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

while (i <= length(groups) ) {
               png(file=sprintf('MAplot%03d.png', i), width=600, height=600)
               MAplot(rawAffyData, pairs=TRUE, plot.method='smoothScatter'
which=groups[[i]])
               dev.off()
               i<-i+1 }

if i normally run this in a r terminal everything will go fine but
running it from rpy line by line will give a error.

any help would be greatly appreciated,

Richard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to