powered by
The function sessionPackages prints the list of packages attached to the current R session.
sessionPackages
sessionPackages(package = NULL)
a character vector naming installed packages, or NULL (the default) meaning all attached packages.
NULL
A list with the following components:
basePkgs: a character vector of base packages which are attached.
basePkgs
otherPkgs (not always present): a character vector of other attached packages.
otherPkgs
This function reuses part of the code from sessionInfo.
sessionInfo
sessionInfo from package utils, R.version from package base.
R.version
# NOT RUN { sessionPackages() # }
Run the code above in your browser using DataLab