Learn R Programming

devtools (version 1.13.3)

session_info: Print session information

Description

This is 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 installed from).

Usage

session_info(pkgs = NULL, include_base = FALSE)

Arguments

pkgs

Either a vector of package names or NULL. If NULL, displays all loaded packages. If a character vector, also, includes all dependencies of the package.

include_base

Include base packages in summary? By default this is false since base packages should always match the R version.

Examples

Run this code
# NOT RUN {
session_info()
session_info("devtools")
# }

Run the code above in your browser using DataLab