Software
prettycode
Syntax highlight R code in the terminal
R
The prettycode package adds syntax highlighting to R functions when they are printed in the terminal. It replaces R’s standard print method with one that uses ANSI colors to make code more readable.
The package automatically handles long functions by paging them, and it only applies colors when the terminal supports them. It provides a simple way to make R code output more visually clear without requiring manual formatting. The main benefit is improved readability when inspecting function definitions interactively.
prettycode
prettycode
prettycode


