help2 | R Documentation |
Returns the help text for the specified topic formatted either as plain text, html or latex.
help2(topic, format = "text", package = NULL)
topic |
character, the topic for which to return the help text. See argument |
format |
character, either |
package |
character, the package for which to return the help text. This argument will be ignored if topic is specified. Package must be attached to the search list first, e.g. by calling |
The help text for the specified topic in the specified format as string.
htm <- help2("sum", "html")
txt <- help2(topic = "sum", format = "text")
cat2(txt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.