Neuro LeSuperHéros
2005-Apr-19 19:06 UTC
[R] timeSeries Date Warning messages: Set timezone to GMT!
Hello, I must be doing something wrong that's very obvious. But I just don't see it. I changed my Windows Time Zone to GMT and my Financial Center to Montreal. But I still get several warnings.>Sys.timezone()[1] "GMT Daylight Time">myFinCenter[1] "Montreal">Sys.timeDate()[1] "Montreal" [1] [2005-04-19 10:55:02] Warning messages: 1: Set timezone to GMT! in: Sys.timeDate() 2: Set timezone to GMT! in: timeDate(as.character(Sys.time()), zone = "GMT", FinCenter = FinCenter) 3: Set timezone to GMT! in: rulesFinCenter(FinCenter) 4: Set timezone to GMT! in: print.timeDate(list())>ts<-timeSeries(pdatadate[,2:4], pdatadate[,1], format = "%Y-%m-%d")Warning messages: 1: Set timezone to GMT! in: timeDate(charvec = charvec, format = format, zone = zone, FinCenter = FinCenter) 2: Set timezone to GMT! in: rulesFinCenter(FinCenter) 3: Set timezone to GMT! in: Sys.timeDate() 4: Set timezone to GMT! in: timeDate(as.character(Sys.time()), zone = "GMT", FinCenter = FinCenter) 5: Set timezone to GMT! in: rulesFinCenter(FinCenter) 6: Set timezone to GMT! in: Sys.timeDate() 7: Set timezone to GMT! in: timeDate(as.character(Sys.time()), zone = "GMT", FinCenter = FinCenter) 8: Set timezone to GMT! in: rulesFinCenter(FinCenter) Regards, Pierre
Prof Brian Ripley
2005-Apr-19 21:46 UTC
[R] timeSeries Date Warning messages: Set timezone to GMT!
On Tue, 19 Apr 2005, someone with the silly handle "Neuro LeSuperH?ros" wrote:> Hello, I must be doing something wrong that's very obvious. But I just don't > see it.Nor do we. There are no such functions in R itself. Looks like this might be package fBasics, although you did not mention it.> I changed my Windows Time Zone to GMT and my Financial Center to Montreal.I don't think you can (Windows' idea of `GMT' is actually London time, on BST now), and that is not the same thing. See the rw-FAQ for how to set environment variables: ?timeSeries seems to want TZ=GMT. BTW Windows reports> Sys.time()[1] "2005-04-19 22:44:29 GMT Daylight Time" and there is of course no such thing.> But I still get several warnings. > >> Sys.timezone() > [1] "GMT Daylight Time" >> myFinCenter > [1] "Montreal" >> Sys.timeDate() > [1] "Montreal" > [1] [2005-04-19 10:55:02] > Warning messages: > 1: Set timezone to GMT! in: Sys.timeDate()[...] -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Apparently Analagous Threads
- [R-SIG-Finance] FinCenter in timeSeries with "merge", "cbind" and "rbind"
- Re: [R-sig-finance] dates and times on Windows for fMetrics
- Can I create a timeDate object using only year and week of the year values?
- R timeDate does not allow seconds?
- timeDate & business day