[Rd] Windows, RCMD INSTALL and path (PR#939)
Prof Brian Ripley
Fri, 11 May 2001 18:21:47 +0100 (BST)
On Fri, 11 May 2001 firstname.lastname@example.org wrote:
> Full_Name: David Firth
> Version: 1.2.3
> OS: Windows NT4
> Submission from: (NULL) (18.104.22.168)
> Two things that look like bugs:
> 1. RCMD INSTALL does not seem to cope with quotes in the Windows path. With my
I'd say the other way round. Nowhere does it say that it will work with
> path set to
> I get, for example,
> C:\R>RCMD INSTALL boot
> RCMD INSTALL boot
> make: Entering directory `/cygdrive/c/R/rw1023/src/gnuwin32'
> make DLLNM= EXTRADOCS= \
> -C C:/R/boot PKG=boot RHOME=C:/R/rw1023 RLIB=C:/R/rw1023/library \
> -f C:/R/rw1023/src/gnuwin32/MakePkg
> make: make: Command not found
> make: *** [pkg-boot] Error 127
> make: Leaving directory `/cygdrive/c/R/rw1023/src/gnuwin32'
> *** Installation of boot failed ***
> But if I remove the quotes, as in
> then all goes as it should.
> (Why do I have the quotes there anyway, you ask? Well, I started out with
> PATH="C:Program Files\R\Rtools";"C:Program
> but then RCMD INSTALL failed even more rapidly, presumably on account of the
> space in the directory name?)
> If this can't be fixed, perhaps add a note in the documentation about these
> things? (I looked in "Writing R Extensions" but found no mention of this
We didn't ask you to stop beating your wife because it never occurred to
us that you would....
Note, though, this is a problem with the tools, not with anything we
provide, and the rw-FAQ does warn about spaces in paths. Latex, for
example, will fail with spaces in path names.
You also need the R source (R-1.3.0.tgz).
Then: untar R-1.3.0.tgz somewhere (with no spaces in the path names),
might be hint.
> 2. A smaller thing I noticed in help(INSTALL): under "Usage:" it should say
> "Rcmd", not "Rcnd".
Brian D. Ripley, email@example.com
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-devel 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: firstname.lastname@example.org