[R] Customizing the package build process

Duncan Murdoch murdoch at stats.uwo.ca
Wed Nov 23 21:57:32 CET 2005


Ross Boylan wrote:
> On Wed, 2005-11-23 at 10:49 +0100, Uwe Ligges wrote:
> 
>>Ross Boylan wrote:
> 
> ....
> 
>>>P.S. Previous list postings advised that R CMD install was a better way
>>>to produce binaries than R CMD build --binary.  The former command
>>>doesn't seem to have any options for making binaries; has that facility
>>>been removed?
>>
>>No, you can use:
>>
>>R CMD INSTALL --build
>>
>>
>>Uwe Ligges
> 
> I was looking at R CMD install --help.  I didn't realize the upper lower
> case versions of install differed.  That's a little confusing.

That's Unix for you.

What R CMD does on Unix is to set up several environment variables, then 
runs the command. So something like

R CMD ls

will run the ls command.

On Windows, the search is limited to the R bin directory, which seems 
more reasonable to me.

Duncan Murdoch




More information about the R-help mailing list