[R] Building an R package under Windows NT

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 2 23:36:09 CEST 2003


On Mon, 2 Jun 2003 Benjamin.STABLER at odot.state.or.us wrote:

> Thanks for the suggestions.  
> 
> 1) I fixed the zip.exe PATH issue.
> 2) I removed unnecessary quotes around C:\Program Files\R
> 3) I ran Rcmd install emme2 with the following result:
> 
> ---------- Making package emme2 ------------
>   adding build stamp to DESCRIPTION
>   installing R files
>  175373 [main] sh 352 proc_subproc: Couldn't duplicate my handle<0xA4> for
> pid 1736008448, Win32 error 6
>   installing man source files
>   33006 [main] sh 280 proc_subproc: Couldn't duplicate my handle<0xA0> for
> pid 1736008448, Win32 error 6
>   installing indices
> make[1]: *** [indices] Error 255
> make: *** [pkg-emme2] Error 2
> *** Installation of emme2 failed ***

[Lots of duplicates of these messages removed.]

Do check that you *really* have the right versions of the tools, as this 
is yet another symptom of incorrect versions.

> Thus I am not doing something correctly.  I was able to install the package
> via the "install from local zip file" option in RGui though.  But I can't
> search for any of my functions and the 00Index.html file was not created.
> Do I need to create 00Index.html with Rdconv?  I thought maybe I should use
> "Rcmd build --binary --docs=html emme2" but the "--docs=html" option is not
> working for me.  The html is less important to me than the make working

Given that it is nowhere documented to work, why do you expect it to?  
Try Rcmd INSTALL --help to see the valid values of TYPE.

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list