Re: [Rd] as.character.POSIXt in R devel

2022-10-07 Thread Suharto Anggono Suharto Anggono via R-devel
Yes, no documentation. "POSIXlt" object with out-of-bounds components or whose components are not all of the same length may be produced internally by 'seq.POSIXt'. Initially, 'r1' is a "POSIXlt" object whose all components have length 1. Component 'year', 'mon', or 'mday' of 'r1' is then modifie

Re: [Rd] as.character.POSIXt in R devel

2022-10-06 Thread Suharto Anggono Suharto Anggono via R-devel
In 'as.character.POSIXt' in R devel after r83010: if(getOption("OutDec") != OutDec) { op <- options(OutDec = OutDec);  on.exit(op) } on.exit(op) does nothing. It should be on.exit(options(op)) Is it OK to output the seconds using scientific notation? Example (modified from https://bu

Re: [Rd] as.character.POSIXt in R devel

2022-10-03 Thread Martin Maechler
> Martin Maechler > on Mon, 3 Oct 2022 14:46:08 +0200 writes: > Suharto Anggono Suharto Anggono via R-devel > on Sun, 2 Oct 2022 08:42:50 + (UTC) writes: >> With r82904, 'as.character.POSIXt' in R devel is changed. The NEWS item: >> as.character() now behave

Re: [Rd] as.character.POSIXt in R devel

2022-10-03 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Sun, 2 Oct 2022 08:42:50 + (UTC) writes: > With r82904, 'as.character.POSIXt' in R devel is changed. The NEWS item: > as.character() now behaves more in line with the > methods for atomic vectors such as numbers

Re: [Rd] as.character.POSIXt in R devel

2022-10-03 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Sun, 2 Oct 2022 08:42:50 + (UTC) writes: > With r82904, 'as.character.POSIXt' in R devel is changed. The NEWS item: > as.character() now behaves more in line with the >methods for atomic vectors such as numbers, an