regressoR (version 1.1.7)

new_section_report: new_section_report

Description

creates a new section in the report, this way you can overwrite keys and delete an element only affects the current section.

Usage

new_section_report()

Arguments

Examples

Run this code
# NOT RUN {
new_report(iris, 'iris')
insert_report('1_part', 'Title 1', 'head(iris)\n', 'summary(iris)')
get_report()

remove_report_elem('1_part')
get_report()

new_section_report()
insert_report('1_part', 'Title 1', 'head(iris)\n', 'summary(iris)')
get_report()

new_section_report()
insert_report('1_part', 'Title 1', 'head(iris)\n', 'summary(iris)')
get_report()

remove_report_elem('1_part')
get_report()

clean_report()

# }

Run the code above in your browser using DataLab