Displaying 2 results from an estimated 2 matches for "konto7628845339".
2020 Jul 22
3
Invisible names problem
I ran into strange behavior when removing names.
Two ways of removing names:
i <- rep(1:4, length.out=20000)
k <- c(a=1, b=2, c=3, d=4)
x1 <- unname(k[i])
x2 <- k[i]
x2 <- unname(x2)
Are they identical?
identical(x1,x2) # TRUE
but no
identical(serialize(x1,NULL),serialize(x2,NULL)) # FALSE
But problem is with serialization type 3, cause:
2020 Jul 22
0
Invisible names problem
...ith that would be at serialization time if it could be detected such that it can remove the wrapper. Since the intersection of serialization experts and ALTREP experts is exactly one, I'll leave it to that set to comment further ;).
Cheers,
Simon
> On Jul 23, 2020, at 07:29, Pan Domu <konto7628845339 at gmail.com> wrote:
>
> I ran into strange behavior when removing names.
>
> Two ways of removing names:
>
> i <- rep(1:4, length.out=20000)
> k <- c(a=1, b=2, c=3, d=4)
>
> x1 <- unname(k[i])
> x2 <- k[i]
> x2 <- unname(x2)
>...