felp(topic, package = NULL, ...)
usually, a name or character string specifying the topic for which help is sought. A character string (enclosed in explicit single or double quotes) is always taken as naming a topic.
If the value of topic
is a length-one
character vector the topic is taken to be the value of the only
element. Otherwise topic
must be a name or a reserved
word (if syntactically valid) or character string.
See ‘Details’ for what happens if this is omitted.
a name or character vector giving the packages to look
into for documentation, or NULL
. By default, all packages
whose namespaces are loaded are used. To avoid a name being deparsed use e.g.
(pkg_ref)
(see the examples).
Arguments passed on to utils::help
lib.loc
a character vector of directory names of R libraries,
or NULL
. The default value of NULL
corresponds to all
libraries currently known. If the default is used, the loaded
packages are searched before the libraries. This is not used for
HTML help (see ‘Details’).
verbose
logical; if TRUE
, the file name is reported.
try.all.packages
logical; see Note
.
help_type
character string: the type of help required.
Possible values are "text"
, "html"
and "pdf"
.
Case is ignored, and partial matching is allowed.
# Identical to help(identity); print(identity)
felp(identity)
#> function (x)
#> x
#> <environment: namespace:base>
# Identical to help(iris); str(iris)
felp(iris)
#> 'data.frame': 150 obs. of 5 variables:
#> $ Sepal.Length: num 5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ...
#> $ Sepal.Width : num 3.5 3 3.2 3.1 3.6 3.9 3.4 3.4 2.9 3.1 ...
#> $ Petal.Length: num 1.4 1.4 1.3 1.5 1.4 1.7 1.4 1.5 1.4 1.5 ...
#> $ Petal.Width : num 0.2 0.2 0.2 0.2 0.2 0.4 0.3 0.2 0.2 0.1 ...
#> $ Species : Factor w/ 3 levels "setosa","versicolor",..: 1 1 1 1 1 1 1 1 1 1 ...
# Identical to help(package = stats)
felp(package = stats)