Hi All,

These are the longstanding rpy rules (where 'x' represents any sequence
of valid name character in *python*, including A-Z, a-Z anywhere and 0-9
anywhere except in the first position):

python  R               Example
x_x             x.x             print_default(m) --> print.default(m)
x_              x               print_(m) --> print(m)

However, the (proposed?) translation of 'dollar' to '$' seems
problematic to me, since the string/word 'dollar' can reasonably be
expected to appear in variable names.

What do you have in mind for that?

-G

> >>> So I declared that _
> >>> to . conversion is an unconditional part of the convenience
wrapper
> >>> interface, comparable to data type conversion. (I also declared
> that
> >>> trailing underscores are stripped -- to make functions like
'class'
> >>> and 'print' accessible -- and the word 'dollar' becomes '$'.)
> These
> >>> rules are simple, predictable, correct in vastly more cases than
> doing
> >>> no conversion, and for the occasional weird edge-case you can
still
> >>> use rcall just like now (only the weird edge-cases are much
rarer).
> >> "correct in more cases than doing no (name) conversion" ???
> >


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to