viewRd | R Documentation |
View Rd files in a source package.
viewRd(infile, type = getOption("help_type"), stages = NULL)
infile |
name of an Rd file, a character string. |
type |
one of |
stages |
a character vector specifying which stages of the R installation
process to immitate. The default,
|
This function can be used to view Rd files from the source directory
of a package. The page is presented in text format or in html browser,
according to the setting of argument type
. The default is
getOption("help_type")
.
the function is used for the side effect of showing the help page in a text help window or a web browser.
Developers with "devtools"
can use viewRd()
instead of
help()
for documentation objects that contain Rd macros, such
as insertRef
, see vignette:
vignette("Inserting_bibtex_references", package = "Rdpack")
.
Georgi N. Boshnakov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.