From roy_kuraisa at merck.com  Tue Jul  8 01:45:07 2003
From: roy_kuraisa at merck.com (roy_kuraisa@merck.com)
Date: Tue Jul  8 00:45:04 2003
Subject: [Rd] rcmd and directories (cwd; tmpdir) (PR#3429)
Message-ID: <200307072245.h67Mj7JH026615@pubhealth.ku.dk>

Hi,
rcmd requires a temporary directory identified by the value of the
environment variable "TMPDIR".  Unfortunately, if the directory name has a
space in it, rcmd errors out.  For example, the standard temporary file
"TMP" for xp is like:
 
c:\documents and settings\r_user\local settings\temp
 
If TMPDIR is defined via the Windows/XP "standard" way, i.e.,
set tmpdir=%USERPROFILE%\Temp
 
then rcmd errors out.  Of course if you set TMPDIR to a file without spaces,
all works well unless you cwd has spaces in it and then rcmd will error out
with a message like:
"Cannot cd to c:/Documents "
 
Since there are work arounds (albeit a bit of an inconvenience), I wouldn't
rate this very critical (but some documentation would be nice (at least I
didn't find it in readme.packages; windows faq; reference manual; etc.).
And, btw, for Windows/XP/2000 the default tmp directory is not c:/TEMP --
they changed it to be a function of the user profile (like noted above).

cheers, roy 

Roy Kuraisa 
Rosetta Inpharmatics/Merck Research Labs 
12040 115th Ave NE 
Kirkland, WA 98034 
(425) 636-6398 /roy_kuraisa@merck.com 

 

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, ...{{dropped}}


[Rd] rcmd and directories (cwd; tmpdir) (PR#3429)
roy_kuraisa@merck.com