I solved.
Thanks
On Fri, 1 Sep 2006 19:21:06 +0200
Angelo Secchi <[EMAIL PROTECTED]> wrote:
>
> 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
--
========================================================
Angelo Secchi PGP Key ID:EA280337
========================================================
Current Position:
Research Fellow Scuola Superiore S.Anna
Piazza Martiri della Liberta' 33, Pisa, 56127 Italy
ph.: +39 050 883365
email: [EMAIL PROTECTED] www.sssup.it/~secchi/
========================================================
-------------------------------------------------------------------------
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