Insert a Table in a Word Document
Create a table with a specified number of rows and columns in a Word document at the current position of the cursor.
WrdTable(nrow = 1, ncol = 1, heights = NULL, widths = NULL, main = NULL, wrd = DescToolsOptions("lastWord"))
nrow |
number of rows. |
ncol |
number of columns. |
heights |
a vector of the row heights (in [cm]). If set to |
widths |
a vector of the column widths (in [cm]). If set to |
main |
a caption for the plot. This will be inserted by InserCaption in Word. Default is NULL, which will insert nothing. |
wrd |
the pointer to a word instance. Can be a new one, created by |
A pointer to the inserted table.
Andri Signorell <andri@signorell.net>
## Not run: # Windows-specific example wrd <- GetNewWrd() WrdTable(nrow=3, ncol=3, wrd=wrd) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.