Nathaniel Smith wrote:
> On Thu, Oct 1, 2009 at 10:48 AM, Warnes, Gregory R.
> wrote:
>> 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
On Fri, Oct 2, 2009 at 6:38 AM, Warnes, Gregory R.
wrote:
> The current approach effectively blocks users from access data objects named
> 'dollar' via the r.dollar syntax. If dollar was a function defined as
>
> dollar <- .Primitive("$")
>
> Then the current syntax would continue to work
Would it still hold if a user is having the equivalent of
r('dollar <- funtion(...) "oops" ')
at some point in his/her code ?
L.
Warnes, Gregory R. wrote:
> OK, if 'dollar' is simply an alias for the function name "$", then
> that seems like it is a reasonable approach...
>
> However, I wou
OK, if 'dollar' is simply an alias for the function name "$", then that seems
like it is a reasonable approach...
However, I would implement this in R by defining an R function named dollar in
an R package, rather than having rpy2 do a translation.
The current approach effectively blocks use