Displaying 1 result from an estimated 1 matches for "r82577".
Did you mean:
982577
2023 Oct 24
1
as.character.Date() strips names in R 4.3.2 beta, bug?
...R 4.3.2 beta, it removes names. Is this change
intentional, or a bug? (For what it's worth, I greatly dislike this
change, and hope it gets changed back.)
$ grep DESCRIPTION /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
$ R --vanilla
R version 4.2.1 Patched (2022-07-09 r82577) -- "Funny-Looking Kid"
> v2 <- structure(as.Date(c('2021-10-06','2021-10-08')) ,names=c('a','b'))
> v2
a b
"2021-10-06" "2021-10-08"
> class(v2)
[1] "Date"
> as.character(v2)
a...