

   prompt {base}                                R Documentation

   PPrroodduuccee PPrroottoottyyppee ooff aann RR DDooccuummeennttaattiioonn FFiillee

   DDeessccrriippttiioonn::

        Facilitate the constructing of files documenting R
        functions.

   UUssaaggee::

        prompt(object, ...)

        prompt.default(object,
            filename = paste(name, ".Rd", sep = ""),
            force.function = FALSE)

   AArrgguummeennttss::

     object: an R object, typically a function

   filename: name of the output file

   force.function: treat `object' as function in any case

   DDeettaaiillss::

        An ASCII file `filename' is produced containing the
        proper function and argument names of `object'.  You
        have to edit it before adding the documentation to the
        source tree, i.e., (currently) to
        `$R_HOME/src/library/base/man/'.

   SSeeee AAllssoo::

        `prompt.data.frame'.

        `help' and the chapter on ``Writing R documentation''
        in ``Writing R Extensions'' (see the `doc/manual' sub-
        directory of the R source tree).

   EExxaammpplleess::

        prompt(plot.default)
        prompt(interactive, force.f = TRUE)

