[Rd] SET_COMPLEX_ELT and SET_RAW_ELT missing from Rinternals.h

2021-06-25 Thread Konrad Siek
Hello, I am working on a package that works with various types of R vectors, implemented in C. My code has a lot of SET_*_ELT operations in it for various types of vectors, including for CPLXSXPs and RAWSXPs. I noticed SET_COMPLEX_ELT and SET_RAW_ELT are defined in Rinlinedfuns.h but not declared

Re: [Rd] [External] SET_COMPLEX_ELT and SET_RAW_ELT missing from Rinternals.h

2021-07-01 Thread Konrad Siek
t; > Best, > > luke > > On Fri, 25 Jun 2021, Konrad Siek wrote: > > > Hello, > > > > I am working on a package that works with various types of R vectors, > > implemented in C. My code has a lot of SET_*_ELT operations in it for > > various type

Re: [Rd] [External] SET_COMPLEX_ELT and SET_RAW_ELT missing from Rinternals.h

2021-07-03 Thread Konrad Siek
I'll make sure to avoid it. k On Sat, Jul 3, 2021 at 2:37 AM wrote: > On Thu, 1 Jul 2021, Konrad Siek wrote: > > > Thanks! > > > > So what would be the prescribed way of assigning elements to a CPLXSXP > if I > > needed to? > > The first question is