prompt {base} | R Documentation |
Facilitate the constructing of files documenting R functions.
prompt(object, ...) prompt.default(object, filename = paste(name, ".Rd", sep = ""), force.function = FALSE)
object |
an R object, typically a function |
filename |
name of the output file |
force.function |
treat object as function in any case |
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/'.
help
and the chapter on ``Writing R documentation'' in
``Writing R Extensions'' (see the `doc/manual'
subdirectory of the R source tree).
prompt(plot.default) prompt(interactive, force.f = TRUE)