Thousands formatter: format number with commas separating the number thousands and suffixed with a k.
Source:R/thousands.R
thousands_format.RdBased heavily on the scales work by Hadley
See also
Other helper:
CJ.dt(),
convertToXML(),
generatePDF(),
pounds_format(),
sanitise(),
wordwrap()