powered by
Check if Console Supports ANSI Color Escapes
hasColorConsole()
a boolean
# NOT RUN { if (rstudioapi::hasColorConsole()) { message("RStudio console supports ANSI color sequences.") } # } # NOT RUN { # }
Run the code above in your browser using DataLab