\Header{search}{Give Search Path for R Objects}
\alias{searchpaths}{search}
\keyword{data}{search}
\begin{Description}\relax
Gives a list of \code{\Link{attach}}ed \emph{packages}
(see \code{\Link{library}}), and \R{} objects, usually
\code{\Link{data.frame}s}.\end{Description}
\begin{Usage}
\begin{verbatim}
search()
searchpaths()
\end{verbatim}
\end{Usage}
\begin{Value}
A character vector, starting with
\code{"\Link{.GlobalEnv}"}, and ending with \code{"package:base"}
which is \R's \emph{base} package required always.

\code{searchpaths} gives a similar character vector, with the
entries for packages being the path to the package used to load the
code.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{attach}} and \code{\Link{detach}} to change the
search ``path'', \code{\Link{objects}} to find \R{} objects in there.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
search()
searchpaths()
\end{ExampleCode}
\end{Examples}

