[R] Building Windows Package

Alan Arnholt arnholt at cs.cs.appstate.edu
Mon Jul 26 19:56:08 CEST 2004


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




More information about the R-help mailing list