I do not understand why, but changing the definition of TMPDIR to C:/tmp 
solved the problem. 

R. Woodrow Setzer, Jr.                        Phone: (919) 541-0128
Experimental Toxicology Division             Fax:  (919) 541-4284
Pharmacokinetics Branch
NHEERL B143-05; US EPA; RTP, NC 27711




Woodrow Setzer/RTP/USEPA/US@EPA
Sent by: [EMAIL PROTECTED]
02/11/2003 02:14 PM

 
        To:     [EMAIL PROTECTED]
        cc:     [EMAIL PROTECTED]
        Subject:        Re: [R] Problems with Rcmd check on Win 2000 & rw1062



TMPDIR seems to be OK:

> echo %TMPDIR%
C:/DOCUME~1/R5018~1.WOO/LOCALS~1/Temp

>

I'll poke around in the Perl code to see what I can find.

R. Woodrow Setzer, Jr.                        Phone: (919) 541-0128
Experimental Toxicology Division             Fax:  (919) 541-4284
Pharmacokinetics Branch
NHEERL B143-05; US EPA; RTP, NC 27711


  
                      [EMAIL PROTECTED]   
                      c.uk                     To:       Woodrow 
Setzer/RTP/USEPA/US@EPA 
                                               cc: 
[EMAIL PROTECTED]  
                      02/11/03 02:01 PM        Subject:  Re: [R] Problems 
with Rcmd check on Win 2000 & rw1062 
  
  




Rcmd check uses TMPDIR, so what exactly do you have that set to?
It does look to me as if you do not have it set correctly, but you can
debug the Perl to find out what it is doing.

It certainly works for me iff TMPDIR is set correctly.

On Tue, 11 Feb 2003 [EMAIL PROTECTED] wrote:

> When I run Rcmd check on a package on my Windows 2000 machine, I get a
> series of error messages like the following:
>
> * checking generic/method consistency ...c:
\DOCUME~1\R5018~1.WOO\LOCALS~1\Temp/R
> utils138414013: cannot open
c:DOCUME~1R5018~1.WOOLOCALS~1Temp/Rin138408157: no s
> uch file
>
> It looks as if a Windows style path to the temp directory is not being
interpreted correctly, with backslashes not being properly escaped.
> However,
> I define three different environment variables to point to a temp
directory (TMP, TEMP, TMPDIR), and all definitions use forward slashes,
> Unix-style,
> so Rcmd check has found some other way to construct the path to a temp
directory.
> Does anyone know how I can fix this so that Rcmd check will work?

--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help



        [[alternate HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to