Skip to content

答复: 答复: [R] fail in adding library in new version.

2 messages · Ivy_Li, Gabor Grothendieck

#
Dear All,
	I have downloaded the htmlhelp.exe from InterNet. Install it into the path "C:\Program Files\HTML Help Workshop\". I add this path into the "Control Panel -> System -> Advanced -> Environment Variables -> Path -> Variable". 
	But it still exist error.
	---------- Making package example ------------
  	  adding build stamp to DESCRIPTION
	  installing R files
	  installing data files
	  installing man source files
	  installing indices
	  not zipping data
	  installing help
	 >>> Building/Updating help pages for package 'example'
	     Formats: text html latex example chm
	  d                                 text    html    latex   example
	  e                                 text    html    latex   example
	  f                                 text    html    latex   example
	  g                                 text    html    latex   example
	hhc: not found
	cp: cannot stat `D:/PROGRA~1/R/rw2011/example/chm/example.chm': No such file or
	directory
	make[1]: *** [chm-example] Error 1
	make: *** [pkg-example] Error 2
	*** Installation of example failed ***
	
	Removing 'D:/PROGRA~1/R/rw2011/library/example'
	Restoring previous 'D:/PROGRA~1/R/rw2011/library/example'

I don't know why it can not find the "hhc" file. 
Please tell me which step is wrong.
Thank you for helping me!
^_^

-----Ô­Ê¼ÓÊ¼þ-----
·¢¼þÈË: Gabor Grothendieck [mailto:ggrothendieck at gmail.com]
·¢ËÍÊ±¼ä: 2005Äê7ÔÂ13ÈÕ 9:32
ÊÕ¼þÈË: Ivy_Li
³­ËÍ: Duncan Murdoch; r-help at stat.math.ethz.ch
Ö÷Ìâ: Re: ´ð¸´: [R] fail in adding library in new version.


hhc.exe is the Microsoft help compiler.  You have to download it and put
it somewhere in your path.
On 7/12/05, Ivy_Li <Ivy_Li at smics.com> wrote:
#
If you start up a fresh batch console and run
  hhc
do you get the usage message?  If not you still have a path problem.  
You only need hhc.exe so just copy that file into any directory on your 
path -- issue the command:

path

to find out which directories you can copy it into (and also post the 
output of the path command if you still have problem) -- with this
approach you won't have to set your path to the 
HTML Help Workshop.
On 7/12/05, Ivy_Li <Ivy_Li at smics.com> wrote: