search for: wrap_meta

Displaying 3 results from an estimated 3 matches for "wrap_meta".

2019 Jul 19
2
ALTREP wrappers and factors
.... > On Thu, Jul 18, 2019 at 3:28 AM Bemis, Kylie <k.bemis at northeastern.edu> > wrote: > > > Hello, > > > > I?m experimenting with ALTREP and was wondering if there is a preferred > > way to create an ALTREP wrapper vector without using > > .Internal(wrap_meta(?)), which R CMD check doesn?t like since it uses an > > .Internal() function. > So there is the .doSortWrap (and its currently inexplicably identical clone .doWrap) function in base, which is an R level function that calls down to .Internal(wrap_meta(...)), which you can use, but it doe...
2019 Jul 17
2
ALTREP wrappers and factors
Hello, I?m experimenting with ALTREP and was wondering if there is a preferred way to create an ALTREP wrapper vector without using .Internal(wrap_meta(?)), which R CMD check doesn?t like since it uses an .Internal() function. I was trying to create a factor that used an ALTREP integer, but attempting to set the class and levels attributes always ended up duplicating and materializing the integer vector. Using the wrapper avoided this issue. Her...
2019 Jul 18
0
ALTREP wrappers and factors
....com/Jiefei-Wang/AltWrapper Best, Jiefei On Thu, Jul 18, 2019 at 3:28 AM Bemis, Kylie <k.bemis at northeastern.edu> wrote: > Hello, > > I?m experimenting with ALTREP and was wondering if there is a preferred > way to create an ALTREP wrapper vector without using > .Internal(wrap_meta(?)), which R CMD check doesn?t like since it uses an > .Internal() function. > > I was trying to create a factor that used an ALTREP integer, but > attempting to set the class and levels attributes always ended up > duplicating and materializing the integer vector. Using the wrapper...