Re: [Rd] Problem with ?Syntax

2010-02-21 Thread Duncan Murdoch
Gabor Grothendieck wrote: I wasn't claiming there was an ambiguity but it does not perform according to the operator precedence documented in ?Syntax . If it performed as documented it would give an error. There are a few other errors in that page, e.g. saying that [ has greater priority

Re: [Rd] Problem with ?Syntax

2010-02-21 Thread Duncan Murdoch
On 21/02/2010 12:44 PM, Duncan Murdoch wrote: Gabor Grothendieck wrote: I wasn't claiming there was an ambiguity but it does not perform according to the operator precedence documented in ?Syntax . If it performed as documented it would give an error. There are a few other errors in that

[Rd] Problem with ?Syntax

2010-02-20 Thread Gabor Grothendieck
In ?Syntax [ is given as higher priority than $ but BOD$demand[3] seems to be the same as (BOD$demand)[3] contrary to [ being higher priority. BOD$demand[3] [1] 19 (BOD$demand)[3] [1] 19 What is the rule being used here? __ R-devel@r-project.org

Re: [Rd] Problem with ?Syntax

2010-02-20 Thread Barry Rowlingson
On Sat, Feb 20, 2010 at 9:52 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: In ?Syntax [ is given as higher priority than $ but BOD$demand[3] seems to be the same as (BOD$demand)[3] contrary to [ being higher priority. BOD$demand[3] [1] 19 (BOD$demand)[3] [1] 19 What is the rule

Re: [Rd] Problem with ?Syntax

2010-02-20 Thread Gabor Grothendieck
I wasn't claiming there was an ambiguity but it does not perform according to the operator precedence documented in ?Syntax . If it performed as documented it would give an error. On Sat, Feb 20, 2010 at 6:57 AM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: On Sat, Feb 20, 2010 at 9:52