[Rd] Problem setting environment variable in R/zzz.R

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sun Jun 27 00:02:51 CEST 2004


"Roger D. Peng" <rpeng at jhsph.edu> writes:

> The help page for Sys.putenv seems to indicate using a single "="
> rather than the double "==".  Could that be your problem?

> >         Sys.putenv("TZ"=="GMT")
> >         Sys.putenv("TZ"==getOption("TZ"))

Whoa! Nice catch, Roger.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list