[R] library manual: documentation of funcs not alphabetically ordered

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 27 14:15:14 CEST 2004

On Tue, 27 Jul 2004, Robin Hankin wrote:

> Hello everybody
> I'm putting finishing touches to a library, 


> and have noticed that the .dvi file that R CMD check creates does not
> sort the functions in alphabetical order.

It is not designed to, merely to check that the files can be processed.
Use R CMD Rd2dvi to produce a manual: that sorts the man/*.Rd files in the 
ASCII collate order (which may or may not be the same order as the 
function names).

> I find this odd because I used the "tidy"  routines in section 3.1 of 
> the R-exts manual, which produce R code in which the functions are 
> alphabetically ordered (and I performed R CMD check using the 
> tidied-and-profiled R code).  My other library manuals are in 
> alphabetical order.

The R and man directories are unrelated.

> How do I get a dvi manual with functions in alphabetical order?
> What have I forgotten to do?

Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list