powered by
This is copied over from xtable::sanitize().
xtable::sanitize()
sanitize(str, type = "latex")
A character object.
"latex" or "html".
"latex"
"html"
The sanitized character object.
# NOT RUN { foo <- 'Make $$$ with us' sanitize(foo, type = 'latex') # }
Run the code above in your browser using DataLab