Hi,
I have a conversion problem for passing python aruments to R.
My raw R function have keyword arguments with underscores as following :
myRfunction(arg_with_underscore=foo)

When I try to call it from Python giving the keyword argument, 
underscores are converted to into points '.' :
r.myRfunction(arg_with_underscore=foo) is converted in R to 
r.myRfunction(arg.with.underscore=foo)
and R raise an error saying that arg.with.underscore is unknown keyword...

I have tried the syntax : r.myRfunction(r['arg_with_underscore']=foo) , 
but it is not accepted by Python.

Could someone give me the correct syntax please ?

Regards,
++
Jul.

-- 
Julien VIENNE
CLIMPACT
Institut Pierre-Simon Laplace
                
4, place Jussieu
Tour 45-46, 5ème ét. Bureau 507
75252 Paris Cedex 5
Tel : 01 44 27 34 31
Web: http://www.climpact.com/



-------------------------------------------------------------------------
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
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to