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
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
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