(R-intro.info)Packages
13 Packages
***********
All R functions and datasets are stored in _packages_. Only when a
package is loaded are its contents available. This is done both for
efficiency (the full list would take more memory and would take longer
to search than a subset), and to aid package developers, who are
protected from name clashes with other code. The process of developing
packages is described in Note: Creating R packages.
Here, we will describe them from a user's point of view.
To see which packages are installed at your site, issue the command
> library()
with no arguments. To load a particular package (e.g., the *boot*
(https://CRAN.R-project.org/package=boot) package containing functions
from Davison & Hinkley (1997)), use a command like
> library(boot)
Users connected to the Internet can use the 'install.packages()' and
'update.packages()' functions (available through the 'Packages' menu in
the Windows and macOS GUIs, Note: (R-admin)Installing packages) to
install and update packages.
To see which packages are currently loaded, use
> search()
to display the search list. Some packages may be loaded but not
available on the search list (Note: Namespaces): these will be
included in the list given by
> loadedNamespaces()
To see a list of all available help topics in an installed package,
use
> help.start()
to start the HTML help system, and then navigate to the package listing
in the 'Reference' section.
- Standard packages
- Contributed packages and CRAN
- Namespaces
automatically generated by info2www version 1.2.2.9