Rdocumentation
powered by
Learn R Programming
R2wd (version 1.5)
Write MS-Word documents from R
Description
This package uses either the statconnDCOM server (via the rcom package) or the RDCOMClient to communicate with MS-Word via the COM interface.
Copy Link
Link to current version
Version
Version
1.5
1.4
1.3.0
1.1
1.0
Install
install.packages('R2wd')
Monthly Downloads
205
Version
1.5
License
GPL-2
Maintainer
Christian Ritter
Last Published
March 16th, 2012
Functions in R2wd (1.5)
Search all functions
R2wd-package
Write MS-Word documents from R.
wdGetProperty
Get a property from Word.
wdNewDoc
Start a new document (when Word is running).
wdQuit
Close Word and remove the handle.
wdSave
Save the active document.
wdSubsubsection
Start a new Word section, add a heading and a bookmark.
wdPageBreak
Insert a page break.
wdUndo
Save the active document.
wdVerbatim
write verbatim text to word (for example model output).
wdEnumerate
Start a numbered list
wdType
write text to word
wdSelection
Get handle to current Selection in Word Application.
wdInsertBookmark
Insert a Bookmark.
wdApplyTemplate
Apply a word template.
wdSetFont
Set font in Word.
wdSection
Start a new section of the document.
wdGet
Gets a handle to Word (using RDCOMClient).
wdConvert
Unit conversion (inches, points, cm)
wdTable
Write a dataframe or an array as a Word table.
wdParagraph
Insert a paragraph break.
wdInsertFootnote
Insert a Footnote
wdEqn
Write formulas in Word
wdPlot
create an R plot and paste it into word.
wdGoToBookmark
Navigate to a bookmark in the active Word document.
wdBody
Write in body text.
wdApplyTheme
Apply a word template.
wdPageSetup
Modify page setup in Word.
wdItemize
Start a bullet list
wdNormal
Type text in Normal style.
wdHeading
Add text in Heading style.
wdWrite
Write text to word.
wdSubsection
Start a new Word section, add a heading and a bookmark.
wdTitle
Add text in title style.
wdSectionBreak
Insert a section break.
wdSetProperty
Set a property in Word.
wdStyleSetup
Modify document style