index.search {base} | R Documentation |
Used to search the indices for help files, possibly under aliases.
index.search(topic, path, file="AnIndex", type = "help")
topic |
The keyword to be searched for in the indices. |
path |
The path(s) to the packages to be searched. |
file |
The index file to be searched. Normally ‘"AnIndex"’. |
type |
The type of file required. |
For each package in path
, examine the file file
in
directory ‘type’, and look up the matching file stem for topic
topic
, if any.
A character vector of matching files, as if they are in directory
type
of the corresponding package. In the special cases of
type = "html"
, "R-ex"
and "latex"
the file
extensions ".html"
, ".R"
and ".tex"
are added.