report.sessionInfo

This function enables to export the table of the sessionInfo

report.sessionInfo(doc = NULL)

Arguments

doc

NULL or a rdocx object'

Value

A flextable object (if doc=NULL) or a rdocx object (if doc= an rdocx object).

Details

None

See also

Examples

# For an R markdown document just do report.sessionInfo()
#> a flextable object. #> col_keys: `Label`, `Information` #> header has 1 row(s) #> body has 123 row(s) #> original dataset sample: #> Label Information #> 1 R version: R version 3.6.1 (2019-07-05) #> 2 #> 3 Platform: x86_64-w64-mingw32/x64 (64-bit) #> 4 #> 5 Running under: Windows 10 x64 (build 16299)
# Fro a Word document use the doc argument library(officer) doc=read_docx() doc=report.sessionInfo(doc)