RShowDoc(what, type = c("pdf", "html", "txt"), package)
whatcan specify one of several different sources of documentation, including the R manuals (
COPYING(the GPL licence), any of the licenses in share/licenses,
FAQ(also available as
R-FAQ), and the files in R_HOME/doc.
Only on Windows, the R for Windows FAQ is specified by
package is supplied, documentation is looked for in the
doc and top-level directories of an installed package of that name.
what is missing a brief usage message is printed.
The documentation types are tried in turn starting with the first
"pdf" if none is specified).