On 25/02/2010 7:56 PM, Eric Ferreira wrote:
Thank you, Sir, but how can I demand it to create HTML files?

The tools::Rd2HTML function will do the translation, but it takes a bit
of work to prepare input for it.  The idea is that you don't need to
save the files, R just produces them when the browser asks for them.

There's an option --enable-prebuilt-html that can be used when
installing a package, but I don't recommend using it.  You'll get the
help page as it exists at install time, not as it is intended to be
displayed at run time.  Links to other packages likely won't work properly.

Duncan Murdoch

P.S. Please copy your responses to the group, so that others can see the questions and answers.




On 25 February 2010 14:41, Duncan Murdoch <murd...@stats.uwo.ca> wrote:

On 25/02/2010 11:49 AM, Eric Ferreira wrote:

Ok,

I'm working under:
Windows 7 Professional 32bits, 4 GB RAM, 320 GB HD, Intel Core 2 Duo
processor
R 2.10.1

I've installed:
Rtools211
MikteX 2.8
HTML Help Workshop

Setting my PATH to:
c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;c:\Arquivos de
Programas\R\R-2.10.1pat\bin;c:\Arquivos de Programas\MikTeX
2.8\miktex\bin;c:\Program Files\HTML Help Workshop

...creating the package called "ExpDes" and asking (at the prompt) :

Rcmd build --binary ExpDes

Among others, a warning message is printed: "WARNING: some HTML links may
not be found", and no html files are produced.


Right, HTML help files are produced on demand, they aren`t stored in the
binary package zip file.  HTML Help Workshop is not being used at all.

Duncan Murdoch

 Thank you again.





On 25 February 2010 13:02, Duncan Murdoch <murd...@stats.uwo.ca> wrote:

On 25/02/2010 10:56 AM, Eric Ferreira wrote:

This is my first package. I'm just getting started doing that,
following
the
steps described on you website... I really don't know how I asking for
CHMs
to be produced, sorry.


All I can suggest is that you need to be less stingy with information.
 Tell us what you did.  Tell us what symptoms you saw.  Do both of those
by
cut and paste from your console, don't paraphrase, or refer to vague
instructions like "your website".

Duncan Murdoch


On 25 February 2010 12:52, Duncan Murdoch <murd...@stats.uwo.ca>
wrote:
On 25/02/2010 10:40 AM, Eric Ferreira wrote:

Dear Duncan

Thank so much for your reply.
Actually, I'm using the latest version of R and the problem
persists.
What
do you use instead of HTML Help Workshop for newer R versions?


We just produce text and HTML help pages on demand, and LaTeX ones
for
the
pdf manuals.  How are you asking for CHMs to be produced?

Duncan Murdoch

 Best regards
Eric.

On 25 February 2010 11:43, Duncan Murdoch <murd...@stats.uwo.ca>
wrote:
On 25/02/2010 9:06 AM, Eric Ferreira wrote:

Dear useRs,

I'm having trouble building R packages in Windows 7 regarding
HTML
help
Workshop.
Pointing PATH to c:\Program Files\HTML help Workshop does work in
Windows
(e.g. Vista) and does not in Windows 7.

Some tips??


We don't use the HTML Help Workshop any more since R 2.10.0, so
you
could
upgrade to the current R, and the problem will go away.
 Otherwise, I
think
you'll have to ask Microsoft for help.  But they aren't likely to
be
helpful:  Win XP is the most recent OS listed as supported.

Duncan Murdoch

















______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to