Re: [Rd] Out of bounds negative index

2008-05-02 Thread Vincent Goulet
Le ven. 02 mai à 15:46, Duncan Murdoch a écrit : On 5/2/2008 3:23 PM, Vincent Goulet wrote: Hi, From the R Language Definition, Section 3.4.1: "If i is positive and exceeds length(x) then the corresponding selection is NA. A negative out of bounds value for i causes an error." (This is al

Re: [Rd] Out of bounds negative index

2008-05-02 Thread Duncan Murdoch
On 5/2/2008 3:29 PM, hadley wickham wrote: On Fri, May 2, 2008 at 2:23 PM, Vincent Goulet <[EMAIL PROTECTED]> wrote: Hi, From the R Language Definition, Section 3.4.1: "If i is positive and exceeds length(x) then the corresponding selection is NA. A negative out of bounds value for i causes

Re: [Rd] Out of bounds negative index

2008-05-02 Thread Duncan Murdoch
On 5/2/2008 3:23 PM, Vincent Goulet wrote: Hi, From the R Language Definition, Section 3.4.1: "If i is positive and exceeds length(x) then the corresponding selection is NA. A negative out of bounds value for i causes an error." (This is also mentioned in S Programming, footnote of page 24

Re: [Rd] Out of bounds negative index

2008-05-02 Thread hadley wickham
On Fri, May 2, 2008 at 2:23 PM, Vincent Goulet <[EMAIL PROTECTED]> wrote: > Hi, > > From the R Language Definition, Section 3.4.1: > > "If i is positive and exceeds length(x) then the corresponding selection is > NA. A negative out of bounds value for i causes an error." > > (This is also mentio