View source: R/report.sessionInfo.R
report.sessionInfo | R Documentation |
Report R environment (packages, system, etc.)
## S3 method for class 'sessionInfo'
report(x, ...)
report_packages(session = NULL, include_R = TRUE, ...)
cite_packages(session = NULL, include_R = TRUE, ...)
report_system(session = NULL)
x |
The R object that you want to report (see list of of supported objects above). |
... |
Arguments passed to or from other methods. |
session |
A sessionInfo object. |
include_R |
Include R in the citations. |
For report_packages
, a data frame of class with information on package
name, version and citation.
An object of class report()
.
library(report)
session <- sessionInfo()
r <- report(session)
r
summary(r)
as.data.frame(r)
summary(as.data.frame(r))
# Convenience functions
report_packages(include_R = FALSE)
cite_packages(prefix = "> ")
report_system()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.