AW: [R] running Rcmd INSTALL, again

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 5 11:56:05 CET 2001


As ever, please do check that you have used exactly the addresses in the
documentation, and followed just one set of instructions.  You seem to
have used half of one and half of another here.  There's a fix at the
bottom.

On Fri, 5 Jan 2001, 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.

Eh?  There is no such file, nor is that what readme.packages says.

auk% wget http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip
--10:52:38--  http://www.stats.ox.ac.uk:80/pub/bdr/RWin/tools.zip
           => `tools.zip'
Connecting to www.stats.ox.ac.uk:80... connected!
HTTP request sent, awaiting response... 404 Not Found
10:52:39 ERROR 404: Not Found.


> 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?

You do to use Rcmd INSTALL. That's not mentioned in that section, is it?
And that's not where you get them.

I think the simplest way out for you is to change the line in
src/gnuwin/32/Makefile (from rw1020sp.zip)

from

pkg-%:  libR.a #../include/globalvar.h

to

pkg-%:  #libR.a #../include/globalvar.h

(just insert a #).

If you ever do want to make a package with C etc, you will need to get the
compilers and remove the #.

-- 
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list