Re: [Rd] ALTREP: Bug reports

2019-05-17 Thread
duplicate function with *deep==FALSE,* which does not sound correct to me if we don't do a deep copy of the SEXP. Best, Jiefei On Thu, May 16, 2019 at 3:07 PM Gabriel Becker wrote: > Jiefei, > > Inline. > > On Thu, May 16, 2019 at 2:30 PM 介非王 wrote: > >> Hello Luke and

Re: [Rd] ALTREP: Bug reports

2019-05-16 Thread
Hi, Sorry for overflow the mailbox. Please ignore the second question, I misunderstand Gabriel answer. Best, Jiefei On Thu, May 16, 2019 at 5:29 PM 介非王 wrote: > Hello Luke and Gabriel, > > Thank you very much for your quick responses. The explanation of STDVEC is > very h

Re: [Rd] ALTREP: Bug reports

2019-05-16 Thread
That said I don't think either of these are bugs, per se, but rather a > misunderstanding of the API. Details inline. > > > > On Thu, May 16, 2019 at 11:57 AM 介非王 wrote: > >> Hello, >> >> I have encountered two bugs when using ALTREP APIs. >> >>

[Rd] ALTREP: Bug reports

2019-05-16 Thread
Hello, I have encountered two bugs when using ALTREP APIs. 1. STDVEC_DATAPTR >From RInternal.h file it has a comment: /* ALTREP support */ > void *(STDVEC_DATAPTR)(SEXP x); However, this comment might not be true, the easiest way to verify it is to define a C++ function: void C_testFunc(SEX

Re: [Rd] [External] Re: ALTREP: Design concept of alternative string

2019-05-13 Thread
Thank you very much for your explanation! I'm looking forward to seeing the changes of R functions in a furture release. Best, Jiefei Tierney, Luke 于2019年5月10日周五 下午12:22写道: > On Fri, 10 May 2019, 介非王 wrote: > > > Hi Gabriel, > > > > Thanks for your explanation, I

Re: [Rd] ALTREP: Design concept of alternative string

2019-05-10 Thread
isn't read only) then you're basically stepping out of ALTREP space > anyway, so it makes sense that a normally laid-out STRSXP (with it's > CHARSXP payload). > > Best, > ~G > > On Thu, May 9, 2019 at 8:09 AM 介非王 wrote: > >> Hello from Bioconducto

[Rd] ALTREP: Design concept of alternative string

2019-05-09 Thread
Hello from Bioconductor, I'm developing a package to share R objects across clusters using boost library. The concept is similar to mmap package: https://cran.r-project.org/web/packages/mmap/index.html . However, I have a problem when I was trying to write Dataptr_method for the alternative string