Re: [Rd] Bug in as.Date or strptime?

2018-06-22 Thread Duncan Murdoch
On 22/06/2018 9:55 AM, Rui Barradas wrote: Hello, This just came up in SO, sessionInfo() at the end. https://stackoverflow.com/questions/50988018/seeking-explanation-for-as-date-function-in-r?noredirect=1#comment88971055_50988018 # example 1 # not even the month is right as.Date(x = 1,

[Rd] Bug in as.Date or strptime?

2018-06-22 Thread Rui Barradas
Hello, This just came up in SO, sessionInfo() at the end. https://stackoverflow.com/questions/50988018/seeking-explanation-for-as-date-function-in-r?noredirect=1#comment88971055_50988018 # example 1 # not even the month is right as.Date(x = 1, format = '%j', origin= '2015-01-01') #[1]