В Thu, 11 May 2023 17:51:33 +0800
Jinsong Zhao пишет:
> Both codes do not return NA on FreeBSD:
>
> > strptime("1970-01-01 00:00.00 UTC", "%Y-%m-%d %H:%M", '')
> [1] "1970-01-01 CST"
> > strptime("1970-01-01 00:00.00 UTC", "%Y-%m-%d", '')
> [1] "1970-01-01 CST"
I must have misread the cod
The origin of this problem is when I try to update rstan package in R
4.3.0 on FreeBSD. I get the same error as that
https://github.com/stan-dev/rstan/issues/612
However, I did not encounter this problem when using R 4.2.x or 4.1.x on
FreeBSD.
Best,
Jinsong
On 2023/5/11 16:56, Jinsong Zhao
On 2023/5/11 17:22, Ivan Krylov wrote:
В Thu, 11 May 2023 16:56:41 +0800
Jinsong Zhao пишет:
When I run the following code in R 4.3.0 on FreeBSD, I got error.
> as.POSIXct("1970-01-01 00:00.00 UTC")
Error in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambi
On 2023/5/11 17:24, Jeff Newmiller wrote:
I find your claim suspect... a period is not interchangeable with a colon.
Good catching, but
In R 4.3.0 on FreeBSD, the same error after changing the period to a colon:
> as.POSIXct("1970-01-01 00:00:00 UTC")
Error in as.POSIXlt.character(x, tz, ...) :
I find your claim suspect... a period is not interchangeable with a colon.
On May 11, 2023 1:56:41 AM PDT, Jinsong Zhao wrote:
>Hi there,
>
>When I run the following code in R 4.3.0 on FreeBSD, I got error.
>
>> as.POSIXct("1970-01-01 00:00.00 UTC")
>Error in as.POSIXlt.character(x, tz, ...) :
>
В Thu, 11 May 2023 16:56:41 +0800
Jinsong Zhao пишет:
> When I run the following code in R 4.3.0 on FreeBSD, I got error.
>
> > as.POSIXct("1970-01-01 00:00.00 UTC")
> Error in as.POSIXlt.character(x, tz, ...) :
>character string is not in a standard unambiguous format
Do strptime("1970-
Hi there,
When I run the following code in R 4.3.0 on FreeBSD, I got error.
> as.POSIXct("1970-01-01 00:00.00 UTC")
Error in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambiguous format
The same code could give correct answer in R 4.3.0 on Windows, and R
4.1.2
7 matches
Mail list logo