Re: [Rpy] Underscore conversion from Python to R

2006-09-13 Thread Jul
>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. > Using version 2.0.1 of R, the following syntax is accepted : f=function(x_y) return(x_y+1); Because I use Python syntax for a while, I hate usi

Re: [Rpy] Underscore conversion from Python to R

2006-09-12 Thread Peter
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

[Rpy] Underscore conversion from Python to R

2006-09-12 Thread Jul
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.myRfuncti