Re: [R] Time zones in POSIClt objects

2024-10-11 Thread Jan van der Laan
On 10/11/24 11:56, Rui Barradas wrote: Hello, A way to have different time zones is to store t1 and t2 in list, which are vectors. Just not atomic vectors. I think it complicates what should be simple, but here it is. # create two lists t1 <- lapply(c("2024-01-01 12:30", "2024-01-01 12:30

Re: [R] Time zones in POSIClt objects

2024-10-11 Thread Jan van der Laan
Thanks, On 10/11/24 09:10, Ivan Krylov wrote: В Thu, 10 Oct 2024 17:16:52 +0200 Jan van der Laan пишет: This is where it is unclear to me what the purpose is of the `zone` element of the POSIXlt object. It does allow for registering a time zone per element. It just seems to be ignored. I thi

Re: [R] Time zones in POSIClt objects

2024-10-11 Thread Rui Barradas
Às 15:13 de 10/10/2024, Jeff Newmiller via R-help escreveu: POSIXt vectors do not support different time zones element-to-element. If you want to keep track of timezones per element, you have to create a vector of timestamps (I would recommend POSIXct using UTC) and a parallel vector of timezo

[R] [Rd] R 4.4.2 scheduled for October 31

2024-10-11 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Time zones in POSIClt objects

2024-10-11 Thread Ivan Krylov via R-help
В Thu, 10 Oct 2024 17:16:52 +0200 Jan van der Laan пишет: > This is where it is unclear to me what the purpose is of the `zone` > element of the POSIXlt object. It does allow for registering a time > zone per element. It just seems to be ignored. I think that since POSIXlt is an interface to wh