[R] how to document user-defined packages for windows

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Mar 10 08:20:44 CET 2000


On Thu, 9 Mar 2000, Griffith Feeney wrote:

> After several hours of trial and error I've figured out how to create
> packages for use by rw1000 ("Writing R Extensions" seems not to cover
> this).
> 
> I haven't been able to figure out how to make help files work. I want plain
> text only, via help(name) or ?name.
> 
> I create a 'help' subdirectory containing a 00Titles file and
> function-specific help files in the package directory, but help() doesn't
> see them, I get, e.g.,
> 
>      Error in help(get.source.data) : No documentation for
> `get.source.data'
> 
> Could someone indicate briefly what must be done to make help() work for
> user-defined packages under windows, or point me to pertinent documentation
> if I've missed it? Thanks!

You write documentation axactly as described in `Writing R Extensions',
and you then install the package as descirbed in the rw-FAQ and in the file
`readme.packages' in rw1000sp.zip.


-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list