| descFun {svMisc} | R Documentation |
Textual help on functions or their arguments is extracted for text online help
for a given function. By default, all arguments from the online help are
returned for descArgs(). If the file contains help for several
functions, one probably gets also some irrelevant information. Use of 'args'
to limit result is strongly encouraged.
descFun(fun, package, lib.loc = NULL) descArgs(fun, args = NULL, package = NULL, lib.loc = NULL)
fun |
a character string with the name of a function (several functions
accepted for |
args |
either |
package |
a character string with the name of the package that contains
|
lib.loc |
a character vector of directory names of R libraries, or
|
A string with the description of the function or of its arguments. If the man page is not found, a vector of empty strings is returned. Empty strings are also returned for arguments that are not found in the man page.
Philippe Grosjean <phgrosjean@sciviews.org>
descFun("ls", "base")
descFun("library", "base")
descFun("descFun", "svMisc")
descFun("descArgs")
descArgs("ls")
descArgs("library", args = c("package", "pos"))