Re: [Rd] [External] Two ALTREP questions

2020-11-21 Thread Jiefei Wang
Thank Dirk and Luke for the answers! (That's C code. The confusion here is partly our fault. When Romain and I > extended the inline package with 'cxxfunction' to support the then-young > but > active Rcpp package, we picked C++. Strictly speaking that isn't required; > you are only in C++ here be

Re: [Rd] [External] Two ALTREP questions

2020-11-21 Thread luke-tierney
On Sat, 21 Nov 2020, Jiefei Wang wrote: Hello, I have two related ALTREP questions. It seems like there is no way to assign attributes to an ALTREP vector without using C++ code. To be more specifically, I want to make an ALTREP matrix, I have tried the following R code but none of them work. `