if (FALSE) {
# Example 1:
cat(chr.color("Text in red.", color = "red"))
# Example 2:
cat(chr.color("Text in blue with green background.",
color = "blue", bg = "yellow"))
# Example 3a:
cat(chr.color("Text in boldface.", style = "bold"))
# Example 3b:
cat(chr.color("Text in boldface and italic.", style = c("bold", "italic")))
}
Run the code above in your browser using DataLab