Pretty Print R Code in the Terminal
Colored brackets
Default prettycode syntax highlighting style
prettycode
Syntax highlight R code
Print a function with syntax highlighting
Replace the standard print method for functions with one that performs syntax highlighting, using ANSI colors, if the terminal supports them.
Useful links