powered by
table_rtf generates an RTF table from a data frame.
table_rtf
table_rtf( df, outFile = NULL, rtfFile = TRUE, boldHeader = TRUE, rowNames = FALSE, ... )
An RTF table based on the data frame provided.
A data frame.
A filename for writing the table to. If NULL, writes to console.
NULL
If TRUE (the default), then add RTF tabs to generate a fully formatted RTF file.
TRUE
If TRUE, make the header bold.
If TRUE, include row names in the table. Default is FALSE.
FALSE
Other formatting options for the table body.
John Johnson, johndjohnson@gmail.com
https://www.r-bloggers.com/2008/10/another-solution-to-the-r-to-word-table-problem/
if (FALSE) { scm <- read_scm("E:/DrugX/ModelDevelopment/scm310") myRTF <- table_rtf(scm$forwardSummary) }
Run the code above in your browser using DataLab