[Rd] Questions regarding ALTREP_SET_ELT APIs

2019-07-30 Thread Wang Jiefei
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, whi

Re: [Rd] [External] Questions regarding ALTREP_SET_ELT APIs

2019-07-30 Thread Tierney, Luke
On Tue, 30 Jul 2019, Wang Jiefei wrote: > 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

Re: [Rd] [External] Questions regarding ALTREP_SET_ELT APIs

2019-07-30 Thread Wang Jiefei
Hi Luke, Thanks for your quick response. I appreciate your help. Best, Jiefei On Tue, Jul 30, 2019 at 12:41 PM Tierney, Luke wrote: > On Tue, 30 Jul 2019, Wang Jiefei wrote: > > > Hi all, > > > > I'm wondering if there is any way to define a `SET_ELT` function for an > > ALTREP class? I see th