.packages(all.available = FALSE, lib.loc = NULL)
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. |
.packages(all.available = TRUE)print(.packages())