[Rd] Package overview document?

Prof Brian D Ripley ripley@stats.ox.ac.uk
Thu, 10 May 2001 09:13:27 +0100 (BST)


On Wed, 9 May 2001, Paul Gilbert wrote:

> This came from deep in my unresolved pile:
> >>On Sun, 31 Dec 2000, Duncan Murdoch wrote:
> >>> I'd like to write an overview of a package, and have it show up when
>
> >>> someone types
> >>>
> >>>  library(help=mypackage)
>   ...
> >>The problem is ensuring that you have a non-clashing name. dse1 has
> >>00General.Description which seems to me to be very likely to clash.
> ...
> >I think the most obvious choice of name is the name of the package,
> >but that would clash fairly often with the name of a function within
> >it (e.g. boot), and it wouldn't show up first in alphabetical lists.
>
> Is there yet any prescribed approach. If not, I would like to suggest
> 00General.Description.xxx  where xxx is replaced by the package name.
> The 00 is to put it near the beginning of the index, but there may be a
> better way.

Lot so unattributed quotes there ....

Note, things have changed since 2000 and functions.html is no longer built
(as from the next release).  So name clashes are less unimportant, and the
only place these names matter are in your own package unless you want

?00General.Description.dse1

to work.  (I really don't like the long name: what's wrong with
00Description or even 00Intro, the latter being the Unix man-pages
convention?)

However, for

library(help=mypackage)

the information should be in INDEX.  This is already done in several
packages, e.g. boot.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._