Print session informationSource:
utils::sessionInfo() re-written from scratch to both exclude
data that's rarely useful (e.g., the full collate string or base packages
loaded) and include stuff you'd like to know (e.g., where a package was
Which packages to show. It may be:
"loaded": show all loaded packages,
"attached": show all attached packages,
"installed": show all installed packages,
a character vector of package names. Their (hard) dependencies are also shown by default, see the
Include base packages in summary? By default this is false since base packages should always match the R version.
What information to show, it can be
"auto"to choose automatically,
"all"to show everything, or a character vector with elements from:
Whether to include the (recursive) dependencies as well. See the
Whether to print the session information to a file. If
TRUEthe name of the file will be
to_filemay also be a string to specify the file name.
to_file is not
FALSE then it is
returned invisibly. (To print it to both a file and to the screen,
(session_info(to_file = TRUE)).)
Columns in the printed package list:
package: package name
*: whether the package is attached to the search path
version: package version. If the version is marked with
(!)that means that the loaded and the on-disk version of the package are different.
date: when the package was built, if this information is available. This is the
DESCRIPTION. (These are usually added automatically by R.) Sometimes this data is not available, then it is
source: where the package was built or installed from, if available. Examples:
CRAN (R 3.3.2),
package_info() for the list of columns in the data frame that
is returned (as opposed to printed).