Re: [R] Building Windows Package

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 27 Jul 2004 - 05:22:12 EST


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

______________________________________________
R-help@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
Received on Tue Jul 27 05:48:30 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:39:17 EST