search for: set_elt

Displaying 7 results from an estimated 7 matches for "set_elt".

Did you mean: set_alt
2019 Jul 30
2
Questions regarding ALTREP_SET_ELT APIs
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 purp...
2019 Jul 24
1
[External] Re: Any plans for ALTREP lists (VECSXP)?
...rialized_state > Duplicate or DuplicateEx > Coerce > Inspect > Length > > 'altvec' methods a class should provide: > > Extract_subset > not Dataptr > not Dataptr_or_null > > 'altlist' specific methods: > > Elt > Set_elt > > Best, > > luke > > On Tue, 23 Jul 2019, Gabriel Becker wrote: > > > Hi Kylie, > > > > Is it a list with only numerics in it? (I only see REALSXPs there, but > > obviously inspect isn't showing all of them). If so, you could load it up > > i...
2019 Jul 30
0
[External] Questions regarding ALTREP_SET_ELT APIs
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 set the value of an ALTREP is through a pointer, which will > require that the ALTREP data is in m...
2019 Jul 23
3
Any plans for ALTREP lists (VECSXP)?
...Bemis, Kylie <k.bemis at northeastern.edu> > wrote: > > > > Hello, > > > > I was wondering if there were any plans for ALTREP lists (VECSXP)? > > > > It seems to me that they could be supported in a similar way to how > ALTSTRING works, with Elt() and Set_elt() methods, or would there be some > problems with that I?m not seeing due to lists not being atomic vectors? > > > > I was taking an approach of converting each list element (of a > file-based list data structure) to an ALTREP representation to build up an > ?ALTREP list?. >...
2019 Jul 23
3
Any plans for ALTREP lists (VECSXP)?
Hello, I was wondering if there were any plans for ALTREP lists (VECSXP)? It seems to me that they could be supported in a similar way to how ALTSTRING works, with Elt() and Set_elt() methods, or would there be some problems with that I?m not seeing due to lists not being atomic vectors? I was taking an approach of converting each list element (of a file-based list data structure) to an ALTREP representation to build up an ?ALTREP list?. This seems fine for shorter lists wit...
2019 Jul 24
0
[External] Re: Any plans for ALTREP lists (VECSXP)?
...ethods that a class can provide: Unserialize or UnserializeEX Serialized_state Duplicate or DuplicateEx Coerce Inspect Length 'altvec' methods a class should provide: Extract_subset not Dataptr not Dataptr_or_null 'altlist' specific methods: Elt Set_elt Best, luke On Tue, 23 Jul 2019, Gabriel Becker wrote: > Hi Kylie, > > Is it a list with only numerics in it? (I only see REALSXPs there, but > obviously inspect isn't showing all of them). If so, you could load it up > into one big vector and then also keep partitioning infor...
2019 Jul 23
0
Any plans for ALTREP lists (VECSXP)?
...ichael On Tue, Jul 23, 2019 at 9:09 AM Bemis, Kylie <k.bemis at northeastern.edu> wrote: > > Hello, > > I was wondering if there were any plans for ALTREP lists (VECSXP)? > > It seems to me that they could be supported in a similar way to how ALTSTRING works, with Elt() and Set_elt() methods, or would there be some problems with that I?m not seeing due to lists not being atomic vectors? > > I was taking an approach of converting each list element (of a file-based list data structure) to an ALTREP representation to build up an ?ALTREP list?. > > This seems fine for...