Pretty Print R Code in the Terminal

Replace the standard print method for functions with one that performs syntax highlighting, using ANSI colors, if the terminal supports them.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("prettycode")

1.1.0 by Gábor Csárdi, 7 years ago


https://github.com/r-lib/prettycode#readme


Report a bug at https://github.com/r-lib/prettycode/issues


Browse source code at https://github.com/cran/prettycode


Authors: Gábor Csárdi


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports crayon, utils

Suggests covr, mockery, rstudioapi, testthat, withr


Imported by cliapp, felp, tracer.

Suggested by box.linters, drake, duckplyr, rbiom, styler.


See at CRAN