Rev 83838 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/search.Rd% Part of the R package, https://www.R-project.org% Copyright 1995-2020 R Core Team% Distributed under GPL 2 or later\name{search}\title{Give Search Path for R Objects}\alias{search}\alias{searchpaths}\usage{search()searchpaths()}\description{Gives a list of \code{\link{attach}}ed \emph{packages}(see \code{\link{library}}), and \R objects, usually\code{\link{data.frame}s}.}\value{A character vector, starting with \code{"\link{.GlobalEnv}"}, andending with \code{"package:base"} which is \R's \pkg{base} packagerequired always.\code{searchpaths} gives a similar character vector, with theentries for packages being the path to the package used to load thecode.}\references{Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)\emph{The New S Language}.Wadsworth & Brooks/Cole. (\code{search}.)Chambers, J. M. (1998)\emph{Programming with Data. A Guide to the S Language}.Springer. (\code{searchpaths}.)}\seealso{\code{\link{.packages}} to list just the packages on search path.\code{\link{loadedNamespaces}} to list loaded namespaces.\code{\link{attach}} and \code{\link{detach}} to change thesearch path, \code{\link{objects}} to find \R objects in there.}\examples{search()searchpaths()}\keyword{data}