Learn R Programming

gridify (version 0.7.4)

coloured_print: Add ANSI colour to a string

Description

Add ANSI colour to a string

Usage

coloured_print(text, colour = "green")

Value

a character string with ANSI codes surrounding it.

Arguments

text

string

colour

colour ("red", "green", etc.) to add. Defaults to "green".