From murdoch.duncan at gmail.com  Fri Jul  5 21:25:08 2013
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 05 Jul 2013 15:25:08 -0400
Subject: [Rd] should the text for RIGHT_ASSIGN be -> in getParseData()?
In-Reply-To: <CANVKczO+J5OR3vGCRE0cuT7KfA9y7zQdq_iRjJYkqs=1+3hp4g@mail.gmail.com>
References: <CANROs4eVNfPjs_D5wb4Hqgy3Axb=88PZ_eGHVAFhTbi-3uT3Tw@mail.gmail.com>
	<51D6AE2B.1060500@gmail.com>
	<93D66B0A-0F6C-4D4B-AA78-F9379C390C2F@gmail.com>
	<252887c8b1864e97a749507eec483c7b@EX-1-HT0.lancs.local>
	<CANVKczO+J5OR3vGCRE0cuT7KfA9y7zQdq_iRjJYkqs=1+3hp4g@mail.gmail.com>
Message-ID: <51D71D94.10909@gmail.com>

On 05/07/2013 12:29 PM, Barry Rowlingson wrote:
> 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?

Dozens of packages on CRAN use it:  abc, abd, adabag, AdaptFitOS, bgeva, ...

> Can we
> also have 'up assign'  and "down assign" so I can do:
>
>   >     3
>   > x -^
>   > x -v
>   >     4
>
>   - they make just as much sense.

I'll work on those; they sound easier than excising right-assign.

Duncan
>
>   Okay, lets see all the edge cases.....
>
> Barry



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