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

