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,

> 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/rpy2/doc-2.1/html/robjects.html#functions
> )

> In the later section, you'll find an example of how to customize
> parameter names translation to anything you like.


> Hoping this helps,
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to