wdGet {R2wd} | R Documentation |
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.
wdGet(visible = TRUE)
visible |
whether the Word application should be visible. |
a handle to the COM object refering to the Word application.
Christian Ritter
## Not run: wdGet() wdTitle("R2wd, a package to write Word documents from R") ## End(Not run)