Learn R Programming

optiRum (version 0.41.1)

sanitise: A cleaning function for special characters

Description

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

Usage

sanitise(str)

Arguments

str

The text to be sanitised

See Also

Other helper: CJ.dt(), convertToXML(), generatePDF(), pounds_format(), thousands_format(), wordwrap()

Examples

Run this code
# NOT RUN {
sanitise('[&%#<>\\')

# }

Run the code above in your browser using DataLab