Re: [Rd] [External] Something is wrong with the unserialize function

2020-10-29 Thread Jiefei Wang
Thanks for the fix! I will wait for the update and try it again. Best, Jiefei On Fri, Oct 30, 2020 at 1:42 AM wrote: > I found that also; fixed in r79386 in the trunk. Will port to R-patched > shortly. > > Best, > > luke > > On Thu, 29 Oct 2020, Martin Morgan wrote: > > > This > > > > Index:

Re: [Rd] [External] Something is wrong with the unserialize function

2020-10-29 Thread luke-tierney
I found that also; fixed in r79386 in the trunk. Will port to R-patched shortly. Best, luke On Thu, 29 Oct 2020, Martin Morgan wrote: This Index: src/main/altrep.c === --- src/main/altrep.c (revision 79385) +++

Re: [Rd] [External] Something is wrong with the unserialize function

2020-10-29 Thread Martin Morgan
This Index: src/main/altrep.c === --- src/main/altrep.c (revision 79385) +++ src/main/altrep.c (working copy) @@ -275,10 +275,11 @@ SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info); SEXP class = LookupClass(csym,

Re: [Rd] [External] Something is wrong with the unserialize function

2020-10-29 Thread luke-tierney
Thanks for the report. Will look into it when I get a chance unless someone else gets there first. A simpler reprex: ## create and serialize a memmory-mapped file object filePath <- "x.dat" con <- file(filePath, "wrb") writeBin(rep(0.0,10),con) close(con) library(simplemmap) x <-