From p.dalgaard at biostat.ku.dk  Sun Jun 27 00:02:51 2004
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Sun Jun 27 00:03:36 2004
Subject: [Rd] Problem setting environment variable in R/zzz.R
In-Reply-To: <40DDE61F.6020406@jhsph.edu>
References: <20040626204609.GA6901@sonny.eddelbuettel.com>
	<40DDE61F.6020406@jhsph.edu>
Message-ID: <x2vfhej7uc.fsf@biostat.ku.dk>

"Roger D. Peng" <rpeng@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@biostat.ku.dk)             FAX: (+45) 35327907


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