Re: [R] x[0]: Can '0' be made an allowed index in R?

2024-04-24 Thread Hans W
I hereby protest strongly against the misuse of this thread through unnecessary and pointless discussions. My request was satisfactorily answered with references to R libraries and legitimate warnings about the use of zero-based indexing schemes in R. If you want to continue the discussions,

Re: [R] x[0]: Can '0' be made an allowed index in R?

2024-04-24 Thread Richard O'Keefe
Note that elt(x, -1) is NOT AN OCCURRENCE OF AN EXISTING OPERATION. It's a call to elt(-,-), which has its own semantics. And the semantics of (x, i) when i is outside the interval [0,length(x)) is UNDEFINED. # elt(x, i) where i is numeric and all(0 <= i & i < length(x)) selects one or more #

Re: [R] x[0]: Can '0' be made an allowed index in R?

2024-04-24 Thread Richard O'Keefe
No, my claim ISN'T false, In fact, it CANNOT be. Here's my claim again, in slow speed. 1. The goal is to get the EFFECT of 0-origin indexing, Not necessarily the syntax. 2. Rule A. NO NEW DATA TYPES. 3, Rule B. NO CHANGES TO EXISTING OPERATIONS, INCLUDING "[" and "[<-", >From rules A and B, it

[R] [Rd] R 4.4.0 is released

2024-04-24 Thread Peter Dalgaard via R-announce
The build system rolled up R-4.4.0.tar.gz and R-4.4.0.tar.xz (codename "Puppy Cup") this morning. This is a major update, containing many new features and bug fixes. The list below details the changes in this release. You can get the source code from