[R] Compile Packages under Windows and CHM

Arend P. van der Veen apv at capital.net
Thu Nov 20 15:08:12 CET 2003


I have been developing a small package.  It install under RedHat Linux
9.0 without a problem.  However, I have a small problem under Windows
XP.  I am using R-1.8.0 on both systems and HTML Help Workshop
4.74.8702.0 on Windows XP.  I created the package under Linux.

When I try to install the package created under Linux in Windows XP

c:\rtest> rcmd install rtest

I get the following error:


      Formats: chm
hhc: not found
cp: cannot stat `C:/R-Packages/rtest/chm/rtest.chm': No such file or
make[1]: *** [chm-rtest] Error 1
make: *** [pkg-rtest] Error 2
*** Installation of rtest failed ***


A file with a hhc extension is usually the contents file.  However, the
HTML help project that is automatically created uses toc as the
extension of the content file.  If I load the project file using HTML
Help Workshop I am able to compile it and create a HTML Help File.

Has anybody else had this problem.

Arend van der Veen

More information about the R-help mailing list