[R] creating help files

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 16 12:13:18 CEST 1999

> Date: Wed, 16 Jun 1999 09:47:28 +0100
> From: "Simon  Bond" <bond at graylab.ac.uk>
> I'm trying to create a help file for a data set. The existing help files
> tell me I should use the prompt(data.set) command which creates an editable
> file, and then move the file to the appropriate directory. This is the output
> > prompt(charac)
> created file named  charac.Rd  in the current directory.
>   Edit the file and move it to the appropriate directory,
>  D:\rw0640/src/library/<pkg>/man/
> >
> The problem is that D:\rw0640 doesn't have a subdirectory named src. Am I
> missing something implied by the forward instead of back slashes? I am
> using R 64.0 on windows NT, which I set up using binaries as opposed to
> building from source.

You do have to do this from source (under Windows, the rw06xxsp.zip
suffices).  The only (simple) way you can add help for your own 
function/datasets in R is to add them as a library, and a library is
intended to be installed from source.

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