| sanitize {huxtable} | R Documentation |
This escapes a string for LaTeX, HTML or RTF.
sanitize(str, type = c("latex", "html", "rtf"))
str |
A character object. |
type |
|
HTML and LaTeX code was copied over from xtable::sanitize().
The sanitized character object.
foo <- 'Make $$$ with us' sanitize(foo, type = 'latex')