.packages
List names of loaded or installed packages

### Description

Lists the names of the packages currently loaded or those that could be loaded.

### Usage

    .packages(all.available = FALSE, lib.loc = NULL)

### Arguments

all.available | a logical value. If TRUE, list all installed packages (those that could be loaded with the library function). If FALSE (the default), list only those packages loaded into the current engine session.
lib.loc | a character vector giving the location of library directories in which to search for installed packages. The default value NULL means to look in the directories listed by the .libPaths function. This argument is used only when all.available is TRUE.

Value
returns a character vector containing the names of packages.
See Also
library, search, .libPaths, installed.packages, available.packages
Examples

    .packages(all.available = TRUE)
    print(.packages())

Package base version 6.1.5-18
Package Index