View source: R/preview-standalone.R
st_to_standalone | R Documentation |
Convert stable text to a standalone snippet
st_to_standalone(
text,
stem,
dir,
font = c("helvetica", "roboto", "utopia"),
command = "latex",
textwidth = 6.5,
border = "0.2cm 1cm",
ntex = 1,
ltversion = getOption("pmtables.image.ltversion", 4.13)
)
text |
character vector of table text. |
stem |
used to build intermediate and output file names. |
dir |
directory for building the pdf file. |
font |
the font to use; alternative values include |
command |
pass |
textwidth |
the page width (in inches) when building with |
border |
passed as an option to |
ntex |
number of times to build the pdf file |
ltversion |
numeric version number for the longtable package; newer versions have an issue that will break this code for longtables; so we are requiring an older version at this point. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.