Learn R Programming

R2wd (version 1.4)

wdWrite: Write text to word.

Description

Write text in current style and end with a paragraph break if requested.

Usage

wdWrite(text = "", paragraph = TRUE, wdapp = .R2wd)

Arguments

text
the text to write.
paragraph
whether a paragraph break should be added at the end.
wdapp
the handle to the Word Application (usually not needed).

Value

    Examples

    Run this code
    wdGet()
    wdTitle("R2wd: A package to write ...")
    wdSetFont(fontname="Symbol")
    wdWrite("R2wd is a package for ...")

    Run the code above in your browser using DataLab