[R] behaviour of Sys.getenv changed after upgrade from 1.3.0 to R1.3.1 debian

Marcus Eger eger.m at gmx.de
Mon Dec 10 11:22:19 CET 2001


Hi, 
both environment variables exist:

> system("echo $hostname")
ernie
> system("echo $HOSTNAME")
ernie

but Sys.getenv reports only one of them:

> Sys.getenv("HOSTNAME")
HOSTNAME
      ""

> Sys.getenv("hostname")
hostname
 "ernie"

What has changed?
  M. Eger


platform i386-pc-linux-gnu
arch     i386
os       linux-gnu
system   i386, linux-gnu
status
major    1
minor    3.1
year     2001
month    08
day      31
language R
-- 

+-------- ><> -------------------------------------------
| E-Mail: eger.m at gmx.de (NEW)
|         marcus.eger at physik.uni-marburg.de (OLD)
| WWW:    http://neuro.physik.uni-marburg.de/~eger (NEW)
+--------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list