Is there a way to output text to the R console in color
Check out the new crayon
package:
library(crayon)cat(blue("Hello", "world!\n"))
More info on the GitHub page.
Works in RStudio 1.2.360+
The xterm256 package by Romain Francoise allows this sort of thing in general on any console that understands xterm256 interrupts.
On either Linux or Mac, you could try https://github.com/jalvesaq/coloroutIt doesn't work on Windows.