Jul wrote:
> 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)

I was under the impression that underscores could not be used in 
variable names (or argument names) in R, in the same way that periods 
(full stops or points, ".") are not allowed in python (as they are used 
for object properties instead).

If this is your own R function, can you simply change the argument names 
to avoid the underscores?

> ...
> 
> Could someone give me the correct syntax please ?

I would guess you are actually using incorrect R syntax (so that fact 
that rpy can't cope with it is not surprising).

I might be wrong of course.

Peter



-------------------------------------------------------------------------
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