Rev 8193 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{prompt}\title{Produce Prototype of an R Documentation File}\usage{prompt(object, \dots)prompt.default(object,filename = paste(name, ".Rd", sep = ""),force.function = FALSE)prompt.data.frame(object,filename = paste(name, ".Rd", sep = ""))}\alias{prompt}\alias{prompt.default}\alias{prompt.data.frame}\arguments{\item{object}{an \R object, typically a function}\item{filename}{name of the output file}\item{force.function}{treat \code{object} as function in any case}}\description{Facilitate the constructing of files documenting \R functions.}\details{An ASCII file \code{filename} is produced containing the properfunction and argument names of \code{object}. You have to edit itbefore adding the documentation to the source tree, i.e., (currently)to \file{\$R\_HOME/src/library/base/man/}.}\note{The documentation file produced by \code{prompt.data.frame} does nothave the same format as many of the data frame documentation files inthe \code{base} library. We are trying to settle on a preferredformat for the documentation.}\seealso{\code{\link{help}} and the chapter on ``Writing \R documentation'' in``Writing \R Extensions'' (see the \file{doc/manual}subdirectory of the \R source tree).}\author{Douglas Bates for \code{prompt.data.frame}}\examples{prompt(plot.default)prompt(interactive, force.function = TRUE)unlink("plot.default.Rd")unlink("interactive.Rd")data(women)prompt(women)unlink("women.Rd")}\keyword{documentation}