From kjell.konis at epfl.ch  Tue Sep  2 14:56:34 2008
From: kjell.konis at epfl.ch (Kjell Konis)
Date: Tue, 2 Sep 2008 14:56:34 +0200
Subject: [Rd] the %ProgramFiles% variable
Message-ID: <84D03A53-C61E-46F1-95EF-31E37ECEF17A@epfl.ch>

Hello,

I want to use the %ProgramFiles% variable in a Sys.setenv (R 2.7.2,  
Windows) but it always seems to get handled literally. For instance,  
in cmd.exe I get what I want


C:\Documents and Settings\user>echo %ProgramFiles%
C:\Program Files


but in R


 > system("echo %ProgramFiles%")
%ProgramFiles%


nope. Is there a way to use %ProgramFIles% or get the corresponding  
path?

Thanks,
Kjell



[Rd] the %ProgramFiles% variable
Kjell Konis