Learn R Programming

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

R2wd (version 1.1)

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

138

Version

1.1

License

GPL-2

Maintainer

Christian Ritter

Last Published

October 23rd, 2009

Functions in R2wd (1.1)

wdPageBreak

Insert a page break.
wdGet

Gets a handle to Word.
wdParagraph

Insert a paragraph break.
wdNormal

Type text in Normal style.
wdSelection

Get handle to current Selection in Word Application.
R2wd-package

Write MS-Word documents from R.
wdQuit

Close Word and remove the handle.
wdInsertBookmark

Insert a Bookmark.
wdSection

Start a new section of the document.
wdSave

Save the active document.
wdGoToBookmark

Navigate to a bookmark in the active Word document.
wdSubsubsection

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

create an R plot and paste it into word.
wdBody

Write in body text.
wdApplyTheme

Apply a word template.
wdHeading

Add text in Heading style.
wdTitle

Add text in title style.
wdSectionBreak

Insert a section break.
wdApplyTemplate

Apply a word template.
wdTable

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

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

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