[Rd] Questions regarding ALTREP_SET_ELT APIs

Wang Jiefei @zwj|08 @end|ng |rom gm@||@com
Tue Jul 30 17:51:32 CEST 2019


Hi all,

I'm wondering if there is any way to define a `SET_ELT` function for an
ALTREP class? I see there are ` ALTINTEGER_SET_ELT` etc. functions exported
in Rinternal.h, but there is no corresponding ALTREP APIs to define them.
The only way to set the value of an ALTREP is through a pointer, which will
require that the ALTREP data is in memory. Is it on purpose? Will there be
any plan to develop these ALTREP set element APIs?

Best,
Jiefei

	[[alternative HTML version deleted]]



More information about the R-devel mailing list