I almost didn't believe in it anymore, but Rcmd INSTALL finally is working for me! Thanks to all who helped on this, especially to Guido Masarotto, Brian Ripley, John Fox, Peter Dalgaard, Uwe Ligges. Anyway, I do think the documentation is a bit confusing here (at least for me, I don't know if others have felt the same). It might be a good idea to add the essence of Brians and Guidos replies to the "Simple ports" section of readme.packages ? As for the link to "tools.zip" (Brian Ripley mentioned that in his post): Right, the correct link to this is "http://www.stats.ox.ac.uk/pub/Rtools/tools.zip", and that's where I actually got it from. The confusion stems from the fact that tools.zip (I have downloaded this on Dec27, 2000) includes (or included?) a file "readme.txt" in which the wrong link "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip" is (was?) given. Thanks again to everyone who helped on this, Heinrich.
---------- Von: Guido Masarotto[SMTP:guido at sirio.stat.unipd.it] Gesendet: Freitag, 05. J?nner 2001 12:08 An: RINNER Heinrich Cc: r-help at stat.math.ethz.ch Betreff: Re: [R] running Rcmd INSTALL, again On Fri, Jan 05, 2001 at 11:25:51AM +0100, RINNER Heinrich wrote:
Indeed, there is no file named "dlltool" anywhere around here! So, at last I am beginning to suspect that my collection of tools is incomplete. What I have got is "rw1020sp.zip" and "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip". These are properly istalled, I think. readme.packages says "If your package has no C nor Fortran nor C++
sources,
see `Simple ports' near the bottom of this file." I don't have any of these sources; going
to
the bottom, readme.packages says: "You will need suitable versions of Unix tools including make, sh, rm, sed, awk, mkdir, echo, cp and cat; we have packaged a set at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. perl5, available via http://www.activestate.com/Products/ActivePerl/" I might have misunderstood something here. Q: Do I have to compile R myself in order to be able to use Rcmd?
No.
Q: Do I have to get "bin-msvcrt-2000-03-27.zip", "binutils-19990818-1-msvcrt.zip", and "gcc-2.95.2-1-msvcrt.zip" from "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip", even if my package
has
no C nor Fortran nor C++ sources?
No/Yes.
No: you don't need the C and Fortran compiler but
Yes: if I understand, you have been found a problem in the
src/gnuwin32/Makefile distributed in rwxxxxsp.zip. This Makefile
try to build the export library for R.dll also for packages
which don't need them.
You can try the following routes:
1) edit src/gnuwin32/Makefile, find the line
pkg-%: libR.a #...
and change it to
pkg-%: #libR.a ...
i.e., move the # before libR.a
This should works but I can test it now (I haven't a Windows
system at hand). Keep in mind that the modified Makefile
will be useless for installing packages with C or Fortran sources.
or
2) install binutils-19.... dlltool lives there.
guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._