Replace the standard print method for functions with one that performs syntax highlighting, using ANSI colors, if the terminal supports them.
conda install r::r-prettycode