[R] build R package on winXP

Jing Wu jingwu at stat.purdue.edu
Mon Jan 5 19:18:06 CET 2004


Hello,

I wrote an R function and want to build an R package on winXP. I have
set my
path:C:\bin;C:\MinGW\bin;C:\Perl\bin\;C:\Tcl\bin;C:\texmf\miktex\bin;C:\Program
Files\R\rw1081\bin;

I tried to run "Rcmd build --help" but failed. Under
C:\WINDOWS\System32\cmd.exe, I got the error message:
Please set TMPDIR to a valid temporary directory.

Under Cygwin, I got the error message:
Can't locate R/Dcf.pm in @INC <@INC contains: c
\PROGRA~1\R\rw1081\share\perl; /usr/lib/perl5/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .> at
c:\PROGRA~1\R\rw1081/bin/build line 34.
BEGIN failed--compilation aborted at c:\PROGRA~1\R\rw1081/bin/build line
34.

I have Dcf.pm in \PROGRA~1\R\rw1081\share\perl\R. Why Rcmd build can not
find it?

Thanks.

Jing




More information about the R-help mailing list