search for: tzsave

Displaying 2 results from an estimated 2 matches for "tzsave".

Did you mean: tsave
2009 Jul 08
1
R 2.9.0 plot still forcing current time zone
the help page for plot.POSIXct says "As from R 2.9.0 the date-times for a '"POSIXct"' input are interpreted in the timwzonw give by the '"tzone"' attribute it there is one, otherwise the current timezone. (Earlier vrsions always used the current timezone.)" however I am using 2.9.0 on linux and the following still happily produces an
2009 Jul 09
2
How to Populate List
...forcing current time zone To: Britton Stephens <stephens@ucar.edu> Cc: r-help@stat.math.ethz.ch Message-ID:     <644e1f320907080508q2f2cae99sac43e6e6011ad7c8@mail.gmail..com> Content-Type: text/plain; charset=ISO-8859-1 Try this: set the timezone to what you want before plotting: > tzsave <- Sys.getenv("TZ")  # save current > Sys.setenv(TZ="GMT")  # set to whatever >  plot(x,rep(1,11))  # plot > Sys.setenv(TZ=tzsave)  # restore >  plot(x,rep(1,11))  # plot in original time zone On Wed, Jul 8, 2009 at 2:21 AM, Britton Stephens<stephens@ucar.edu...