[R] Building static HTML help pages in R 2.10.x on Windows

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Dec 27 20:17:48 CET 2009



Heinz Tuechler wrote:
> Instead of an answer, may I add question
> 
> c) can someone state that it is impossible to generate static HTML help 
> pages under Windows?

No, it is not impossible, see my answers below.


> At 21:40 22.12.2009, Steve Rowley wrote:
>> I upgraded to R2.10.1pat and discovered, along with everybody else,
>> that static HTML pages are no longer the default.  Fine; my tastes
>> would go the other way, but I'm happy to adapt.
>>
>> However, I'd still like to build static HTML pages (for stable
>> bookmarking, use when R is not running, etc.).
>>
>> I'm using the Windows installer, so the advice in the R Installation &
>> Admin guide (section 2.2, "Help options") to use the configure option
>> --enable-prebuilt-html doesn't seem to apply.  I'm using
>> install.packages() rather than R CMD INSTALL, so I don't quite
>> understand how the --html arg to R CMD INSTALL can apply either.
>>
>> So, can anybody point me to an example of either:
>>
>> (a) how to build the static HTML help pages of all currently
>>     installed packages under Windows,

At least two ways:

Way 1: reinstall all those packages from sources using
   R CMD INSTALL --html

Way 2: go to the man directory of a source package and apply
   R CMD Rdconv --type="html" *.Rd
to all Rd files.


>> or, failing that
>>
>> (b) how to do this on Windows ab initio, from a clean install?

install the packages from sources as described in (a) Way 1 rather than 
the prebuilt binaries from CRAN.


Best wishes,
Uwe Ligges




>> Thanks!
>> -- 
>> Steve Rowley <sgr at alum.mit.edu> http://alum.mit.edu/www/sgr/
>>
>> ______________________________________________
>> R-help at 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.
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list