[Rd] should the text for RIGHT_ASSIGN be -> in getParseData()?

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Fri Jul 5 18:29:29 CEST 2013


On Fri, Jul 5, 2013 at 12:57 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:

> R itself doesn't make use of the text column, it's for display of code
> by highlighters etc.  So if anyone does assume text is a function name,
> it's their bug, not ours.  In fact, the bug is already there, because
> there is actually one other example which was being parsed properly,
> "**" is translated to "^".  There's no `**` function, but 2**3 works.

 Is there any reason right-assign with "->" still exists? How much
code on CRAN uses it, and how trivially could it be excised? Can we
also have 'up assign'  and "down assign" so I can do:

 >     3
 > x -^
 > x -v
 >     4

 - they make just as much sense.

 Okay, lets see all the edge cases.....

Barry



More information about the R-devel mailing list