er.
>
> Whether that would have led me to locate `as.list.POSIXlt` is another matter.
>
> Best wishes.
>
>
>
> From: William Dunlap
> Sent: 14 February 2019 20:03
> To: Newell, Paul
> Cc: r-help@r-project.org
> Subject: Re: [R] POSIXlt class and lapply
>
>
: r-help@r-project.org
Subject: Re: [R] POSIXlt class and lapply
Somewhere between R-3.3.3 and R-3.5.2 a POSIXlt method for as.list() was added,
and lapply probably calls as.list().
> RCompare(methods("as.list"))
R version 3.3.3 (2017-03-06) | R version 3.5.1
Somewhere between R-3.3.3 and R-3.5.2 a POSIXlt method for as.list() was
added, and lapply probably calls as.list().
> RCompare(methods("as.list"))
R version 3.3.3 (2017-03-06)| R version 3.5.1
(2018-07-02)
[1] as.list.data.frame as.list.Date| [1]
as.list.d
Dear R-helpers,
We have recently upgraded from R-3.3.1 to R-3.5.2.
It seems there has been a change in behaviour of `lapply` and the `POSIXlt`
class that I cannot find explicitly documented.
In R-3.3.1:
> lapply(as.POSIXlt(Sys.Date()), length)
$sec
[1] 1
$min
[1] 1
$hour
[1] 1
$mday
[1] 1
$mo
4 matches
Mail list logo