wdTable {R2wd} | R Documentation |
Make a Word table to the adequate dimensions, fill it, format it, and add a bookmark (and a caption - doesn't work yet).
wdTable(data, caption = "", bookmark = NULL, pointsize = 9, padding = 5, wdapp = .R2wd)
data |
a data frame or an array |
caption |
the caption to use in Word (doesn't work yet) |
bookmark |
the bookmark to use in Word |
pointsize |
the pointsize in Word |
padding |
how much cell-padding (in points) |
wdapp |
the handle to the Word Application (usually not needed). |
Creates a Word table to the adequate dimensions and inserts it between two paragraph breaks. Fills it with dataframe or array. Creates a bookmark and adds a caption (doesn't work yet). Uses default word formating (this should be made more flexible).
Christian Ritter
## Not run: wdGet() wdTitle("The example mtcars") wdTable(format(mtcars)) ## End(Not run)