[R] building packages: "R Help for package foo" vs. "HTML Help"?
Duncan Murdoch
murdoch at stats.uwo.ca
Mon Oct 6 12:37:44 CEST 2008
Uwe Ligges wrote:
> Michael Friendly wrote:
>
>> Uwe Ligges wrote:
>>
>>> Michael Friendly wrote:
>>>
>>>> In building a package, what are the settings in the package files or
>>>> the build commands that
>>>> determine whether the compiled HTML help windows have the window title
>>>> "R Help for package foo" vs. "HTML Help"?
>>>>
>>> Michael,
>>>
>>> can you give an example for a page with title "HTML Help"? I only
>>> found the "R Help for package foo" version during a quick inspection
>>> of a few examples.
>>>
>> Sure:
>> library(vcd); ?mosaic
>> library(heplots); ?heplot
>> library(car); ?Anova
>> library(rgl); ?shade3d # --- I believe up until just the latest
>> version (rgl_0.81.708) I downloaded from R-Forge
>>
>
>
> I get "R Help for package [foo]" for all of these. I have absolutely no
> idea why it is different on your machine.
>
I see the "HTML Help" message for some pages in CHM help, not in HTML
help. I'm not sure what the pattern is that leads to this.
Duncan Murdoch
> Best wishes,
> Uwe
>
>
>
>> Here's my sessionInfo:
>>
>> > sessionInfo()
>> R version 2.7.2 (2008-08-25)
>> i386-pc-mingw32
>>
>> locale:
>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
>> States.1252;LC_MONETARY=English_United
>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>>
>> attached base packages:
>> [1] grid stats graphics grDevices utils datasets methods
>> [8] base
>> other attached packages:
>> [1] vcd_1.1-1 colorspace_0.95 MASS_7.2-44 rgl_0.81.708 [5]
>> heplots_0.8-0 car_1.2-8
>>
>>
>>>> I often have quite a few help files active, and it is much more
>>>> convenient to navigate among
>>>> them if the window has an informative title.
>>>>
>>>> If this is simple to test for in the build process, can/should this
>>>> be tested for
>>>> (with a warning) or even enforced/automatically generated in the
>>>> scripts?
>>>>
>>>> -Michael
>>>>
>>>>
>>
>
> ______________________________________________
> 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