The R Project SVN R

Rev

Rev 88585 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88585 Rev 88606
Line 1... Line 1...
1
% File src/library/base/man/search.Rd
1
% File src/library/base/man/search.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2020 R Core Team
3
% Copyright 1995-2025 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{search}
6
\name{search}
7
\title{Give Search Path for R Objects}
7
\title{Give Search Path for R Objects}
8
\alias{search}
8
\alias{search}
Line 20... Line 20...
20
  A character vector, starting with \code{"\link{.GlobalEnv}"}, and
20
  A character vector, starting with \code{"\link{.GlobalEnv}"}, and
21
  ending with \code{"package:base"} which is \R's \pkg{base} package
21
  ending with \code{"package:base"} which is \R's \pkg{base} package
22
  required always.
22
  required always.
23
 
23
 
24
  \code{searchpaths} gives a similar character vector, with the
24
  \code{searchpaths} gives a similar character vector, with the
25
  entries for packages being the path to the package used to load the
25
  entries for packages being the path to the directory from which the
26
  code.
26
  namespace was loaded.
27
}
27
}
28
\references{
28
\references{
29
  \bibshow{R:Becker+Chambers+Wilks:1988}  (\code{search}.)
29
  \bibshow{R:Becker+Chambers+Wilks:1988}  (\code{search}.)
30
 
30
 
31
  \bibshow{R:Chambers:1998}  (\code{searchpaths}.)
31
  \bibshow{R:Chambers:1998}  (\code{searchpaths}.)
32
}
32
}
33
\seealso{
33
\seealso{
34
  \code{\link{.packages}} to list just the packages on search path.
34
  \code{\link{.packages}} to list just the packages on the search path,
-
 
35
  and \code{\link{path.package}} for the associated directories.
35
 
36
 
36
  \code{\link{loadedNamespaces}} to list loaded namespaces.
37
  \code{\link{loadedNamespaces}} to list loaded namespaces.
37
 
38
 
38
  \code{\link{attach}} and \code{\link{detach}} to change the
39
  \code{\link{attach}} and \code{\link{detach}} to change the
39
  search path, \code{\link{objects}} to find \R objects in there.
40
  search path, \code{\link{objects}} to find \R objects in there.