This function is a helper for cleaning xtable outputs in preperation for PDF production

sanitise(str)

Arguments

str

The text to be sanitised

See also

Examples

sanitise('[&%#<>\\')
#> [1] "{}[\\&\\%\\#$<$$>$$\\backslash$"