Show R Manuals and Other Documentation
Utility function to find and display Rdocumentation.
RShowDoc(what, type = c("pdf", "html", "txt"), package)
- a character string: see
- an optional character string giving the preferred format. Can be abbreviated.
- an optional character string specifying the name of a package within which to look for documentation.
what can specify one of several different sources of documentation,
including the Rmanuals (
COPYING (the GPL licence), any of the licenses in
FAQ (also available as
R-FAQ), and the files in
Only on Windows, the Rfor Windows FAQ is specified by
package is supplied, documentation is looked for in the
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).
- A invisible character string given the path to the file found.
RShowDoc("R-lang") RShowDoc("FAQ", type = "html") RShowDoc("frame", package = "grid") RShowDoc("changes.txt", package = "grid") RShowDoc("NEWS", package = "MASS")