Learn R Programming

ClinReport (version 0.9.1.14)

report.sessionInfo: Export the table of the sessionInfo() to Word or R markdown documents

Description

report.sessionInfo

This function enables to export the table of the sessionInfo

Usage

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

report.doc report.modelinfo

Examples

Run this code
# NOT RUN {
# For an R markdown document just do
report.sessionInfo()

# Fro a Word document use the doc argument
library(officer)
doc=read_docx()
doc=report.sessionInfo(doc)

# }

Run the code above in your browser using DataLab