[R-sig-finance] its and TZ

Dirk Eddelbuettel edd at debian.org
Thu Dec 23 20:17:36 CET 2004


On Thu, Dec 23, 2004 at 02:01:42PM -0500, Gabor Grothendieck wrote:
> 
> 
> Dirk Eddelbuettel <edd at debian.org>
>  
> > My thanks to Whit for adopting its and releasing the 1.0.4 release. After
> > upgrading, I noticed that I now seem to be falling into the TZ pit: intraday
> > data read from a csv file "shows" the right time stamps when displayed.
> > 
> > However, when plotted, the axis is shifted back to UTC which is now imposed
> > in a few places in the code. I tried to overcome this by explicitly setting
> > a tz argument in readcsvIts, but no luck.
> > 
> > Anybody else bitten by this or similar intraday code with its 1.0.4?
> 
> One workaround, depending on your situation, might be to set 
> your computer or process to GMT.

Confirmed -- adding

  TZ="GMT"
  
in ~/.Renviron does the trick. I'll keep an eye out to see if this has other
side effects.

Dirk

-- 
If you don't go with R now, you will someday.
  -- David Kane on r-sig-finance, 30 Nov 2004



More information about the R-sig-finance mailing list