Skip to content
Prev 62472 / 63421 Next

[External] Re: changes in R-devel and zero-extent objects in Rcpp

Sorry to ask about a bit drifted topic, but will there be an alternative
API to DATAPTR?
I believe it's vital for ALTREP to return the pointer to the expanded
version of a SEXP just like the implementation in base R does [1].
At least, VECSXP has no other measure to expose the pointer if I understand
correctly.

Best,
Yutani

[1]:
https://github.com/r-devel/r-svn/blob/a3508b75d28164b0e5bcb2c87f816ce5169729a4/src/main/altclasses.c#L186


2024?6?9?(?) 10:43 luke-tierney--- via R-devel <r-devel at r-project.org>: