\Header{index.search}{Search Indices for Help Files}
\keyword{utilities}{index.search}
\begin{Description}\relax
Used to search the indices for help files, possibly under aliases.\end{Description}
\begin{Usage}
\begin{verbatim}
index.search(topic, path, file="AnIndex", type = "help")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{topic}] The keyword to be searched for in the indices.
\item[\code{path}] The path(s) to the packages to be searched.
\item[\code{file}] The index file to be searched.  Normally
\file{"AnIndex"}.
\item[\code{type}] The type of file required.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
For each package in \code{path}, examine the file \code{file} in
directory \file{type}, and look up the matching file stem for topic
\code{topic}, if any.\end{Details}
\begin{Value}
A character vector of matching files, as if they are in directory
\code{type} of the corresponding package. In the special cases of
\code{type = "html"}, \code{"R-ex"} and \code{"latex"} the file
extensions \code{".html"}, \code{".R"} and \code{".tex"} are added.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{help}},
\code{\Link{example}}\end{SeeAlso}

