[R] installing packages under Windows 2000

Andrew S. Howell andy.howell at reuters.com
Thu Feb 21 09:51:18 CET 2002


Hello,

	I am trying to install a package for R 1.4.1. under windows 2000, and 
cgywin perl 5.6.1.

The first problem I had was with perl not picking up the R specific perl 
files.

bash-2.05a$ ./Rcmd INSTALL /c/tmp/R/exactRankTests_0.6-2.tar.gz
Can't locate R/Dcf.pm in @INC (@INC contains: c 
\PROGRA~1\R\rw1041\share\perl;/c/Program\ Files/R/rw1041/share/perl /usr
/lib/perl5/5.6.1/cygwin-multi /usr/lib/perl5/5.6.1 
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi /usr/lib/perl5/site_perl/
5.6.1 /usr/lib/perl5/site_perl .) at c:\PROGRA~1\R\rw1041/bin/INSTALL line 25.
BEGIN failed--compilation aborted at c:\PROGRA~1\R\rw1041/bin/INSTALL line 25.

Note that the INC path starts c \PROGAR~1... That is, it is missing the ':'
( mailer wrapped, so its not obvious from above )

After setting PERL5LIB as:

bash-2.05a$ export PERL5LIB='C:\PROGRA~1\R/rw1041\share\perl'

I get:

bash-2.05a$ ./Rcmd INSTALL /c/tmp/R/exactRankTests_0.6-2.tar.gz

make: Entering directory `/c/PROGRA~1/R/rw1041/src/gnuwin32'
make: *** No rule to make target `Files/R/rw1041/bin/R.INSTALL'.  Stop.
make: Leaving directory `/c/PROGRA~1/R/rw1041/src/gnuwin32'
*** Installation of exactRankTests failed ***

It looks like make is lopping off the first part of the path C:\Program 
Files...

Also, there is not such file as 'R.INSTALL' in the bin directory, only INSTALL.

Any ideas?

Regards,

	Andy


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list