prompt.data.frame(object, filename = paste(name, ".Rd", sep = ""))
object |
a data frame |
filename |
name of the output file |
The main goal is to facilitate the constructing of files documenting data frames in R.
An ASCII file filename is produced containing the data frame
name and the names of the variables in the frame. You have to edit it
before adding the documentation to the source tree, i.e., (currently)
to `$R_HOME/src/library/base/man/'.
The documentation file produced by prompt.data.frame does not
have the same format as many of the data frame documentation files in
the base library. We are trying to settle on a preferred
format for the documentation.
Douglas Bates bates@stat.wisc.edu
help and the tutorial about writing R documentation,
currently in the file `$R_HOME/doc/manual/writing-Rd.tex'.
data(women) prompt(women)