Re: [Rpy] R's dot in function arguments

2010-02-07 Thread Yaroslav Halchenko
THANK you Laurent, I kinda came myself to **kwargs trick (didn't know that Python isn't pedantic in checking keys in such case) but all that information on the 2nd page is really useful (I've managed to miss it in my search on 'dot' ;)) Thanks! On Sun, 07 Feb 2010, Laurent Gautier wrote: > Hi,

Re: [Rpy] R's dot in function arguments

2010-02-07 Thread Laurent Gautier
Hi, There are two places where the '_' <-> '.' translation can make the typing with Python (a little) more convenient. R object names (see http://rpy.sourceforge.net/rpy2/doc-2.1/html/robjects.html#module-rpy2.robjects.packages ) and named arguments in functions (see http://rpy.sourceforge.net/r

[Rpy] R's dot in function arguments

2010-02-07 Thread Yaroslav Halchenko
Hi, So, rpy2's interface/object do not support conversion of '_' into '.' and I see the reason -- indeed underscores could be used by r code as well... but now to overcome this issue I need a cumbersome workaround whenever I need to call R's function with smth like 'use.blah' as argument... e.g. f