search for: r42123

Displaying 5 results from an estimated 5 matches for "r42123".

2015 May 04
4
Shouldn't vector indexing with negative out-of-range index give an error?
In Section 'Indexing by vectors' of 'R Language Definition' (http://cran.r-project.org/doc/manuals/r-release/R-lang.html#Indexing-by-vectors) it says: "Integer. All elements of i must have the same sign. If they are positive, the elements of x with those index numbers are selected. If i contains negative elements, all elements except those indicated are selected. If i is
2015 May 06
1
Shouldn't vector indexing with negative out-of-range index give an error?
...>> > >> > >> Now, after reading the source code for a while, and looking at > >> the changes, I've found the log entry > >> > >> ------------------------------------------------------------------------ > >> r42123 | ihaka | 2007-07-05 02:00:05 +0200 (Thu, 05 Jul 2007) | 4 lines > >> > >> Changed the behaviour of out-of-bounds negative > >> subscripts to match that of S. Such values are > >> now ignored rather than tripping an error. > >> >...
2008 May 02
2
Out of bounds negative index
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.) Can someone please provide an example triggering the error? Looking in src/main/subscript.c I could not find exception handling for
2015 May 05
0
Shouldn't vector indexing with negative out-of-range index give an error?
...illing to do the necessary cleanup in their packages ? ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- Now, after reading the source code for a while, and looking at the changes, I've found the log entry ------------------------------------------------------------------------ r42123 | ihaka | 2007-07-05 02:00:05 +0200 (Thu, 05 Jul 2007) | 4 lines Changed the behaviour of out-of-bounds negative subscripts to match that of S. Such values are now ignored rather than tripping an error. ------------------------------------------------------------------------ So, it was changed...
2015 May 06
0
Shouldn't vector indexing with negative out-of-range index give an error?
...- ---- ---- ---- ---- ---- >> >> >> Now, after reading the source code for a while, and looking at >> the changes, I've found the log entry >> >> ------------------------------------------------------------------------ >> r42123 | ihaka | 2007-07-05 02:00:05 +0200 (Thu, 05 Jul 2007) | 4 lines >> >> Changed the behaviour of out-of-bounds negative >> subscripts to match that of S. Such values are >> now ignored rather than tripping an error. >> >> ---------------...