Re: [Rd] Wishlist for promptPackage / index

From: Duncan Murdoch <>
Date: Thu 20 Apr 2006 - 12:22:57 GMT

On 4/19/2006 2:11 PM, Peter Ruckdeschel wrote:
> On 4/19/2006 1:49 AM, Duncan Murdoch wrote:

>> On 4/18/2006 7:02 PM, Peter Ruckdeschel wrote:
>>> would it be possible to enhance either promptPackage()
>>> or the default indexing mechanism for packages
>>> so that -- if it exists -- (the contents of) file
>>> <pkgname>-package.Rd is sorted first in
>>>   * the .dvi / .pdf  documentation file
>>>   * the .chm  documentation file
>>>   * the package 00index.html  documentation file

>> They already sort first in the last of those.  I don't think it is
>> really possible in the index of a .chm file; they are alphabetical
>> sorting only, as far as I know.  (The package topic does sort first in
>> the main contents page, which is the same as the 00index.html file.)

> Yes, you are right: the first two cases are already settled
> in a completely satisfying way [even with "+","-"-type methods!].
> Sorry to have stirred you up --- I should have tried first.
>> It probably makes sense in a .dvi/.pdf,

> I tried out with an example now:
> at least for this case my request still applies ...
>> but as far as I recall, at the time I thought those were produced
>> by the shell script for Rd2dvi, and it just seemed like too much trouble
>> to change the collation order there.
>> In fact, now I look closer I see they are produced by the Perl
>> script tools/ so it shouldn't be hard to port the changes I
>> made to over.  I'll take a look.

> would be very nice; thank you very much

Done now in R-devel; after the 2.3.0 release I'll port it over to R-patched as well. (In the process of doing this I noticed that grDevices-package wasn't making it into the reference manual due to a bug; I fixed that too.)

Duncan Murdoch mailing list Received on Thu Apr 20 22:24:32 2006

This archive was generated by hypermail 2.1.8 : Thu 20 Apr 2006 - 16:17:52 GMT