Setzer.Woodrow@epamail.epa.gov
2003-Feb-11 19:31 UTC
[R] Problems with Rcmd check on Win 2000 & rw1062
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? --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status major = 1 minor = 6.2 year = 2003 month = 01 day = 10 language = R Windows 2000 Professional (build 2195) Service Pack 2.0 Search Path: .GlobalEnv, package:OPmodels, package:odesolve, package:ctest, Autoloads, package:base 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
ripley@stats.ox.ac.uk
2003-Feb-11 20:02 UTC
[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 Setzer.Woodrow at epamail.epa.gov 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, ripley at stats.ox.ac.uk 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
Setzer.Woodrow@epamail.epa.gov
2003-Feb-11 20:32 UTC
[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 ripley at stats.ox.a c.uk To: Woodrow Setzer/RTP/USEPA/US at EPA cc: r-help at stat.math.ethz.ch 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 Setzer.Woodrow at epamail.epa.gov 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 openc:DOCUME~1R5018~1.WOOLOCALS~1Temp/Rin138408157: no s> uch file > > It looks as if a Windows style path to the temp directory is not beinginterpreted correctly, with backslashes not being properly escaped.> However, > I define three different environment variables to point to a tempdirectory (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 tempdirectory.> Does anyone know how I can fix this so that Rcmd check will work?-- Brian D. Ripley, ripley at stats.ox.ac.uk 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
Setzer.Woodrow@epamail.epa.gov
2003-Feb-12 02:57 UTC
[R] Problems with Rcmd check on Win 2000 & rw1062
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: r-help-admin@stat.math.ethz.ch 02/11/2003 02:14 PM To: ripley@stats.ox.ac.uk cc: r-help@stat.math.ethz.ch 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 ripley@stats.ox.a c.uk To: Woodrow Setzer/RTP/USEPA/US@EPA cc: r-help@stat.math.ethz.ch 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 Setzer.Woodrow@epamail.epa.gov 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 openc:DOCUME~1R5018~1.WOOLOCALS~1Temp/Rin138408157: no s> uch file > > It looks as if a Windows style path to the temp directory is not beinginterpreted correctly, with backslashes not being properly escaped.> However, > I define three different environment variables to point to a tempdirectory (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 tempdirectory.> Does anyone know how I can fix this so that Rcmd check will work?-- Brian D. Ripley, ripley@stats.ox.ac.uk 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 ______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help [[alternate HTML version deleted]]