wdGet {R2wd}R Documentation

Gets a handle to Word.

Description

wdGet checks first if Word is already running. If this is not the case, it will start Word, add a document and then return the handle to the Word application. If Word is already running and has an active document, it will just return the handle.

Usage

wdGet(visible = TRUE)

Arguments

visible whether the Word application should be visible.

Value

a handle to the COM object refering to the Word application.

Author(s)

Christian Ritter

Examples

## Not run: 
wdGet()
wdTitle("R2wd, a package to write Word documents from R")
## End(Not run)

[Package R2wd version 1.1 Index]