View source: R/mpf_exporters.R
mpf_to_rtf | R Documentation |
MatrixPrintForm
to RTFExperimental export to rich text format (RTF) via the r2rtf
package.
mpf_to_rtf(
mpf,
colwidths = NULL,
page_type = "letter",
pg_width = page_dim(page_type)[if (landscape) 2 else 1],
pg_height = page_dim(page_type)[if (landscape) 1 else 2],
landscape = FALSE,
margins = c(4, 4, 4, 4),
font_family = "Courier",
font_size = 8,
lineheight = 1,
fontspec = font_spec(font_family, font_size, lineheight),
...
)
mpf |
( |
colwidths |
( |
page_type |
( |
pg_width |
( |
pg_height |
( |
landscape |
( |
margins |
( |
font_family |
( |
font_size |
( |
lineheight |
( |
fontspec |
( |
... |
additional parameters passed to individual methods. |
This function provides a low-level coercion of a MatrixPrintForm
object into
text containing the corresponding table in RTF. Currently, no pagination is done
at this level, and should be done prior to calling this function, though that
may change in the future.
An RTF object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.