Displaying 3 results from an estimated 3 matches for "r85379".
Did you mean:
r75379
2023 Oct 29
1
dim<-() changed in R-devel; no longer removing "dimnames" when doing dim(x) <- dim(x)
...ibutes.
In the new version, assigning the same "dim" as before will no longer
remove "dimnames". I'm reporting here to check whether this change
was intended, or if it was an unintended side effect of the bug fix.
For example, in R Under development (unstable) (2023-10-21 r85379), we
would get:
> x <- array(1:2, dim=c(1,2), dimnames=list("A", c("a","b")))
> str(dimnames(x))
List of 2
$ : chr "A"
$ : chr [1:2] "a" "b"
> dim(x) <- dim(x) ## Removes "dimnames" no matter what
> str(d...
2023 Oct 30
2
dim<-() changed in R-devel; no longer removing "dimnames" when doing dim(x) <- dim(x)
...me "dim" as before
> will no longer remove "dimnames". I'm reporting here to
> check whether this change was intended, or if it was an
> unintended side effect of the bug fix.
> For example, in R Under development (unstable) (2023-10-21
> r85379), we would get:
>> x <- array(1:2, dim=c(1,2), dimnames=list("A",
>> c("a","b"))) str(dimnames(x))
> List of 2 $ : chr "A" $ : chr [1:2] "a" "b"
>> dim(x) <- dim(x) ## Removes "dimnames&quo...
2023 Oct 31
1
dim<-() changed in R-devel; no longer removing "dimnames" when doing dim(x) <- dim(x)
...> will no longer remove "dimnames". I'm reporting here to
> > check whether this change was intended, or if it was an
> > unintended side effect of the bug fix.
>
> > For example, in R Under development (unstable) (2023-10-21
> > r85379), we would get:
>
> >> x <- array(1:2, dim=c(1,2), dimnames=list("A",
> >> c("a","b"))) str(dimnames(x))
> > List of 2 $ : chr "A" $ : chr [1:2] "a" "b"
>
> >> dim(x) <- dim(...