[R] Building Windows Package

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 26 21:22:12 CEST 2004


You want the directory in your path specification, not the executables.  
As in

.;C:\RStools;C:\MinGW\bin;C:\perl\bin;C:\texmf\miktex\bin;
C:\HTMLws;C:\R191\R191\bin;%SystemRoot%\system32;
%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program 
Files\CommonFiles\AdaptecShared\System;
C:\Program Files\ggobi;C:\Program Files\R\rw1091\library\Rggobi\libs


On Mon, 26 Jul 2004, Alan Arnholt wrote:

> I am using R-1.9.1 with windows 2000 and trying to build a package.
> However,
> when I issue the command:
> 
> RCMD build --binary BSDA
> 
> I get:
> 
>  >>> Building/Updating help pages for package 'BSDA'
>      Formats: chm
> hhc: not found
> cp: cannot stat `C:/R191/R191/JUNK/BSDA/chm/BSDA.chm': No such file or
> direc
> tory
> make[1]: *** [chm-BSDA] Error 1
> make: *** [pkg-BSDA] Error 2
> *** Installation of BSDA failed ***
> 
> 
> My path is:
> 
> .;C:\RStools;C:\MinGW\bin;C:\perl\bin;C:\texmf\miktex\bin;C:\Rstools\zip.exe;
> C:\Rstools\unzip.exe;C:\HTMLws\hhc.exe;C:\R191\R191\bin;%SystemRoot%\system32;
> %SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
> Files\CommonFiles\AdaptecShared\System;
> C:\Program Files\ggobi;C:\Program Files\R\rw1091\library\Rggobi\libs
> 
> (HTML Help Workshop lives in- "C:\HTMLws\hhc.exe")
> 
> 
> I have the directory for HTML Help workshop in MkRules set as:
> 
> # Where does 'HTML Help Workshop' live? (unused if compiled HTML help is
> # not requested. Spaces allowed.)
> HHWDIR=C:/HTMLws
> 
> After I issue RCMD build --binary BSDA and get the error messages, if I go
> to
> `C:/R191/R191/JUNK/BSDA/chm/BSDA.hhp' and manually compile the file (with
> HTML Help
> 
> workshop) then issue the command RCMD build --binary BSDA   again...the
> package builds
> without problems.  Any ideas what I am doing wrong?  Thanks in advance for
> the help.
> 
> 
> Alan
> 
> 
> 
> 
> Alan T. Arnholt
> Associate Professor
> Dept. of Mathematical Sciences
> Appalachian State University
> 2003-2004 International Exchange Scholar
> Universidad Publica de Navarra - Nafarroako Unibertsitate Publikoa
> Pamplona,  Spain
> 
> TEL : +34 948 169 205
> CELL: +34 656 668 621
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
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