Re: [Rd] An update on the vctrs package

2018-11-08 Thread Abs Spurdle
Kia Ora > vec_size(data.frame(x = 1:10)) > #> [1] 10 > vec_size(array(dim = c(10, 4, 1))) > #> [1] 10 I think that "length" (in the R way) or "size" should incorporate the number of columns (or other dimension information). How about: > vec_npoints (x) > vec_nrecords (x) > vec_nobs (x) Dependin

Re: [Rd] Little memory leak fix

2018-11-08 Thread Tomas Kalibera
Thanks! Fixed in R-devel. Best Tomas On 10/29/18 12:34 AM, David CARLIER wrote: > Hi dear list, > > Here a little memory leak fix proposal. > > Kind regards. > Thanks. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] error unserializing ascii format (v2 or v3)

2018-11-08 Thread peter dalgaard
I see this on MacOS as well, so likely not platform dependent. A little more diddling to try to narrow it down: > unserialize(serialize(as.raw(1), NULL, version=2, ascii=TRUE)) [1] 30 > unserialize(serialize(list(as.raw(1)), NULL, version=2, ascii=TRUE)) [[1]] [1] 30 > unserialize(serialize(lis