From ihaka at stat.auckland.ac.nz  Sun Feb 22 03:40:33 2004
From: ihaka at stat.auckland.ac.nz (Ross Ihaka)
Date: Sun Feb 22 03:41:50 2004
Subject: [Rd] R CMD versus Rcmd
In-Reply-To: <20040221201417.GA14135@sonny.eddelbuettel.com>
References: <e48f301rc2uvkcr7t3somsu7sus8ksrd2j@4ax.com>
	<20040221201417.GA14135@sonny.eddelbuettel.com>
Message-ID: <403816A1.4050506@stat.auckland.ac.nz>

Dirk Eddelbuettel wrote:
> On Sat, Feb 21, 2004 at 01:22:41PM -0500, Duncan Murdoch wrote:
> 
>>I've just committed changes to R-devel (to become 1.9.0) to allow
>>scripts to be invoked using the Unix-style "R CMD command" in Windows.
>>"Rcmd command" will still work, but is no longer documented.

[ I don't seem to have the original handy ]

This seems to have broken builds under linux (at least on Fedora).
I get a string of messages of the form

/home/ihaka/R/bin/R CMD: /home/ihaka/R/bin/R CMD: No such file or directory

I am currently working around this by changing lines in
src/scripts/R.sh from

       exec sh "${R_HOME}/bin/R CMD" "${@}" ;;

to

       exec sh "${R_HOME}/bin/Rcmd" "${@}" ;;

between "configure" and "make".

-- 
Ross Ihaka                         Email:  ihaka@stat.auckland.ac.nz
Department of Statistics           Phone:  (64-9) 373-7599 x 85054
University of Auckland             Fax:    (64-9) 373-7018
Private Bag 92019, Auckland
New Zealand


[Rd] R CMD versus Rcmd
Ross Ihaka