[Rd] Time zone (PR#808)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Wed, 10 Jan 2001 14:20:27 +0100 (MET)

On Wed, 10 Jan 2001 morin@mat.ulaval.ca wrote:

> I am using R 1.2.0 on a iBook with system 9.04.
> As soon as I open R, I get the following warning:

> Warning message:
> cannot set timezones on this system

Well, it means what it says. If you don't want to use datetime classes
you can ignore it.  Getting a warning is not a bug, but it happens
because .leap.seconds will be wrong.

I presume you compiled this yourself?  Does `system 9.04' have
support for timezones?  If so you should really try to get this to
work: the code is src/main/datetime.c and relies on setting the
environmental variable TZ by putenv or setenv.  Lots of things will
fail if you don't have those so you do need to try to repair this.

Does example(Sys.putenv) do anything sensible?

Brian D. Ripley,                  ripley@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

r-devel 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-devel-request@stat.math.ethz.ch