[rkward-tracker] [ rkward-Bugs-3454372 ] Two successive operators are considered incorrect syntax

SourceForge.net noreply at sourceforge.net
Thu Dec 8 13:12:58 UTC 2011


Bugs item #3454372, was opened at 2011-12-08 05:12
Message generated for change (Tracker Item Submitted) made by nalimilan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3454372&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Milan Bouchet-Valat (nalimilan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Two successive operators are considered incorrect syntax

Initial Comment:
RKward considers a few syntactic peculiarities as incorrect (and highlights them in red), while they work perfectly well if run in R. They are not always advisable, but that's another question. The common factor to all these cases is apparently that two arithmetic operators are juxtaposed.

1) Repetition of the multiplication sign
** like in 2**2

2) Juxtaposition of + or - and another operator
<-- like in: a<--2
/- like in: a/-2
*- like in: a*-2
**- like in: a**-2
^- like in: a^-2
-- like in: a--2
-+ like in: a+-2
(same with +)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3454372&group_id=50231




More information about the rkward-tracker mailing list