[R] bringing up R documentation for my functions

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Mar 9 08:29:17 CET 2001


On Fri, 9 Mar 2001, S.McClatchie wrote:

> Colleagues
>
> ----------------------------------
> System info:
> R version rw1022 on NT
> ESS v. 5.1.18 using emacs ver. 20.4
>
> ----------------------------------
> I want to documnet a function I've written. I used
> prompt(function.name)
> to create an ascii R documentation file. I moved the .Rd file into a
> subdirectory called
> rw1022/library/my.functions/man
>
> Now I want to load the help using
> ?function.name
> but I know there's a step necessary to go from the ascii file to the proper
> format.
>
> I see from the R-exts.pdf that "R objects are documented in files written in
> “R documentation” (Rd) format, a simple markup language closely
> resembling (La)T E X, which can be processed into a variety of formats,
> including LaT E X, html and plain text. The translation is carried out by
> the Perl script Rdconv in ‘$R_HOME/bin’ and by the installation scripts
> for packages."
>
> I don't have Rdconv in the /rw1022/bin. Can you give me some advice on
> where to go from here?

Install rw1022sp.zip and Perl (if you don't have that already).

You can't just run Rdconv (even on Unix): you need Rcmd Rdconv --help on
Windows, but read on ....

-- 
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