Learn R Programming

⚠️There's a newer version (1.5) of this package.Take me there.

R2wd (version 1.4)

Write MS-Word documents from R

Description

This package uses the statconnDCOM server to communicate with MS-Word via the COM interface.

Copy Link

Version

Install

install.packages('R2wd')

Monthly Downloads

205

Version

1.4

License

GPL-2

Maintainer

Christian Ritter

Last Published

August 9th, 2011

Functions in R2wd (1.4)

wdInsertFootnote

Insert a Footnote
wdItemize

Start a bullet list
wdGoToBookmark

Navigate to a bookmark in the active Word document.
wdNewDoc

Start a new document (when Word is running).
wdSection

Start a new section of the document.
wdPageSetup

Modify page setup in Word.
wdSetFont

Set font in Word.
wdSave

Save the active document.
wdPlot

create an R plot and paste it into word.
wdSelection

Get handle to current Selection in Word Application.
wdHeading

Add text in Heading style.
wdVerbatim

write verbatim text to word (for example model output).
wdInsertBookmark

Insert a Bookmark.
wdWrite

Write text to word.
wdGet

Gets a handle to Word.
wdUndo

Save the active document.
wdParagraph

Insert a paragraph break.
wdEnumerate

Start a numbered list
wdType

write text to word
wdSectionBreak

Insert a section break.
wdSubsubsection

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

Write a dataframe or an array as a Word table.
wdGetProperty

Get a property from Word.
wdNormal

Type text in Normal style.
wdApplyTheme

Apply a word template.
wdQuit

Close Word and remove the handle.
wdSubsection

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

Set a property in Word.
R2wd-package

Write MS-Word documents from R.
wdStyleSetup

Modify document style
wdPageBreak

Insert a page break.
wdApplyTemplate

Apply a word template.
wdTitle

Add text in title style.
wdBody

Write in body text.
wdEqn

Write formulas in Word