Hi,
I'm not able to find a solution to the following problem.
Suppose I define a vector "a" in R

>>> freq=r("""
... a<-c(1,2,3)
... """)

Then I would like to generate a loop for on the columns of a. I tried 
with something like

>>> for i in range(1,3):
...     r("""
...     b=a[i]
...     """)

that clearly did not work. Can anyone suggest me the right workaround
for my problem?

Thanks,
Angelo


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to