wdSubsection {R2wd}R Documentation

Start a new Word section, add a heading and a bookmark.

Description

Start a subsection (see wdSection for details.

Usage

wdSubsection(title, label = gsub(" ", "_", paste("subsec", title, sep = "_")),
newpage = FALSE, wdapp = .R2wd)

Arguments

title the sub section title.
label the bookmark.
newpage whether the section should start on a new page.
wdapp the handle to the Word Application (usually not needed).

Examples

## Not run: 
wdGet()
wdTitle("Title")
wdSection("Section 1",newpage=TRUE)
wdSubsection("Sub-section 1.1")
wdSubsubsection("Sub-sub-section 1.1.a")
## End(Not run)

[Package R2wd version 1.1 Index]