powered by
Check if the RStudio console supports ANSI color escapes.
hasColorConsole()
TRUE if ANSI color escapes are supported; FALSE otherwise.
TRUE
FALSE
if (FALSE) { if (rstudioapi::hasColorConsole()) { message("RStudio console supports ANSI color sequences.") } }
Run the code above in your browser using DataLab