Hi again,

With the new installation:
R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

locale:
[1] fr_CA.UTF-8/fr_CA.UTF-8/fr_CA.UTF-8/C/fr_CA.UTF-8/fr_CA.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_3.1.1

I do get a warning that "CEST" is not a valid time zone, but "c" is still 
displayed with "CEST" as time zone, which remains confusing. 

> c = as.POSIXct("2013-07-25 01:00:00", tz="Europe/Copenhagen"); c
[1] "2013-07-25 01:00:00 CEST"
> d = as.POSIXct("2013-07-25 01:00:00", tz="CEST"); d
Messages d'avis :
1: In strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
  unknown timezone 'CEST'
2: In as.POSIXct.POSIXlt(x) : unknown timezone 'CEST'
3: In strptime(x, f, tz = tz) : unknown timezone 'CEST'
4: In as.POSIXct.POSIXlt(as.POSIXlt(x, tz, ...), tz, ...) :
  unknown timezone 'CEST'
[1] "2013-07-25 01:00:00 GMT"
Message d'avis :
In as.POSIXlt.POSIXct(x, tz) : unknown timezone 'CEST'

It is fine now that I am warned, but I wish CEST did not appear at all.

Denis

Le 2014-09-21 à 10:44, Prof Brian Ripley <[email protected]> a écrit :

> You neglected to update before posting as required by the posting guide.
> 
> R 3.0.2 is far from current, and on OS X the timezone internals were replaced 
> in R 3.1.x (the previous version did not handle 64-bit time_t correctly, even 
> though that is what OS X uses).  And the documentation is different.
> 
> 
> ...

> -- 
> Brian D. Ripley,                  [email protected]
> Emeritus Professor of Applied Statistics, University of Oxford
> 1 South Parks Road, Oxford OX1 3TG, UK

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to