[Rd] Windows, RCMD INSTALL and path (PR#939)

david.firth@nuf.ox.ac.uk david.firth@nuf.ox.ac.uk
Fri, 11 May 2001 17:59:31 +0200 (MET DST)


Full_Name: David Firth
Version: 1.2.3
OS: Windows NT4
Submission from: (NULL) (163.1.103.107)


Two things that look like bugs:

1.  RCMD INSTALL does not seem to cope with quotes in the Windows path.  With my
path set to

  PATH="C:\R\Rtools";"C:\R\rw1023\bin";C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\
 
  mingw2\bin

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

  PATH=C:\R\Rtools;C:\R\rw1023\bin;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\ 

  mingw2\bin

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
Files\R\rw1023\bin";C:\Perl\bin\;C:\
  WINNT\system32;C:\WINNT;C:\mingw2.bin

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
problem.)

2.  A smaller thing I noticed in help(INSTALL): under "Usage:" it should say
"Rcmd", not "Rcnd".

Best regards -- David


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._