[Rd] Wishlist for promptPackage / index

From: Peter Ruckdeschel <Peter.Ruckdeschel_at_uni-bayreuth.de>
Date: Tue 18 Apr 2006 - 23:02:24 GMT


Hi R-devels,

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  

?

So far I found the following "hand-made" solution for me:
(1) rename the <pkgname>-package.Rd file to, say,
 0<pkgname>-package.Rd
(2) change the \name -field to

       \name{(<pkgname>-package)}
(note the parentheses in order to sort this file before
 any operators like "+", "-" etc..)

This is probably not quite the way it should be, but at least it works under my standard-settings.

A more refined strategy would probably also take into account something like a Collate field in the DESCRIPTION field.

What is the opinion of R-Core to this question?

Thank you already
Peter



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Apr 19 09:10:38 2006

This archive was generated by hypermail 2.1.8 : Wed 19 Apr 2006 - 00:17:42 GMT