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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 21 Feb 2002, Andrew S. Howell wrote:> I am trying to install a package for R 1.4.1. under windows 2000, and > cgywin perl 5.6.1.Do try reading the instructions (readme.packages)! They contain: `The Windows port of perl5, available via http://www.activestate.com/Products/ActivePerl/.' `BEWARE: Don't expect this to work if the path to R_HOME contains spaces.' and the rw-FAQ also warns against that (see Q2.2 which says `If you want to build packages from sources, choose an installation path not containing spaces.' ) We might add `and not a Cygwin (nor cgywin) port of perl', but then if the instructions are not actually read .... -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._