[R] POSIX revisited

Bernie McConnell bm8 at st-andrews.ac.uk
Mon Apr 30 10:20:37 CEST 2001


Summary of POSIX date-time thoughts ...

>> Brian,
>>
>> May I continue the POSIX thread a little more ...
>>
>> Is there a natural or correct way to represent just time of day, with no
>> associated date, in the POSIX scheme?  Is setting date to 1970-01-01 the
>> best / only way?
>
>The best.
>
>> You suggest format(x, tx="GMT") to force POSIX objects to appear as GMT.  I
>> take it that this disables the implementation of 'Daylight Time'?  I am
>> unsure whether  'GMT Standard Time' and 'GMT Daylight Time' are different
>> time zones or are they both just part of 'GMT' time zone?
>
>GMT means GMT. There is no such thing as `GMT Daylight Time': Windows is
>wrong here.  There is GMT/UTC and there is BST.
>
>> Would it be useful to be able e to be globally set all POSIX objects to
>> display as, say, 'GMT Standard ' with a 'global' in options() ?
>
>You just set the timezone in use to that.  Sys.putenv(TZ="GMT") for me.
>I'll look into seeing if there is an easier way.
>
>> Finally, I think the that the handling of date-times by POSIX object
>> warrants several paragraphs in 'An Introduction to R' - or perhaps I'm just
>> slow on the uptake!
>
>It's too specialized.  There will be an article in the next R-news, though.
...
...
>
>-- 
>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 272860 (secr)
>Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
>
>
Bernie McConnell
NERC SEA MAMMAL RESEARCH UNIT
Gatty Marine Lab, St Andrews University
St Andrews, Fife,  KY16 8LB, Scotland.

b.mcconnell at smru.st-andrews.ac.uk
http://www.smru.st-and.ac.uk
tel:  	+44 (1334) 463280   
fax:  	+44 (1334) 462632   


                
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list