Re: [Rd] ALTREP string methods for substr and nchar

2019-12-19 Thread Gabriel Becker
Hi Jim, Thanks for posting this. Honestly the methods list I initially proposed years ago and the one Luke eventually put in which had some of what I had said and a bunch of new stuff, was pretty heavily focused on numeric values (exclusively so, in my case, I think). I agree that there is a lot

[Rd] ALTREP string methods for substr and nchar

2019-12-19 Thread Jim Hester
A useful extension of ALTREP is having two new string methods which return the number of characters of a given string element and to return a substring of an element. Having these methods would allow retrieving these values without needing to create a CHARSXP for the full element data, which could