Gives a list of attached packages (see library), and R objects, usually data.frames.
Syntax
R
search()
searchpaths()
Return Value
A character vector, starting with ".GlobalEnv", and ending with "package:base" which is R's base package required always. searchpaths gives a similar character vector, with the entries for packages being the path to the package used to load the code.
Examples
Example
R
# NOT RUN {
search()
searchpaths()
# }
See Also
.packages to list just the packages on search path. loadedNamespaces to list loaded namespaces. attach and detach to change the search pathobjects to find R objects in there.