wdType: write text to word

Description Usage Arguments Details Author(s) Examples

Description

Inserts text at the current cursor point in Word (by default without messing with styles).

Usage

1
wdType(text = "", italic=FALSE, alignment="nothing", paragraph = TRUE, wdapp = .R2wd)

Arguments

text

a test string to be written to Word.

italic

if TRUE then the text will be written in italics

alignment

choice of "nothing", "left", "center", "right".

paragraph

whether a paragraph (line return) should be added at the end.

wdapp

the handle to word (can be ignored).

Details

Switches to 'Type' style, adds the text, and then gives a carriage return (paragraph break) if requested.

Author(s)

Christian Ritter

Examples

1
## Not run: wdType("R2wd is a package to write MS-Word files from R")

R2wd documentation built on May 2, 2019, 8:54 a.m.