roy_kuraisa@merck.com
2003-Jul-08 00:45 UTC
[Rd] rcmd and directories (cwd; tmpdir) (PR#3429)
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}}
On Tue, 8 Jul 2003 00:45:07 +0200 (MET DST), you wrote:>Hi, >rcmd requires a temporary directoryRcmd doesn't require much, the different scripts it calls do all the work. Which one in particular was causing you problems? Duncan Murdoch