powered by
Documentation in outline form will be generated to document together all the objects (typically functions) whose names are given.
promptAll(objects, name, filename, where, ...)
The names of the objects to be documented.
The name for the documentation file; by default the name of the first of the objects is used.
The file on which to save the outline of the documentation. By default, appends ".Rd" to name.
".Rd"
name
Optional environment where the objects will be found. By default, uses the top level environment of the call to promptAll().
promptAll()
Optional arguments to be passed on to prompt().
prompt()
Nothing useful. Called for its side effect.
The function prompt() is called for each of the objects. The usage and arguments sections of the individual documentation are merged. In particular, all shared argument names will be listed only once in the documentation shell.
usage
arguments
packageAdd
# NOT RUN { promptAll(objects(pattern="tri*"), "triDiagonal") # }
Run the code above in your browser using DataLab