1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# prettycode
> Pretty Print R Code in the Terminal
[](https://travis-ci.org/r-lib/prettycode)
[](https://ci.appveyor.com/project/gaborcsardi/prettycode)
[](http://www.r-pkg.org/pkg/prettycode)
[](http://www.r-pkg.org/pkg/prettycode)
[](https://codecov.io/github/r-lib/prettycode?branch=master)
Replace the standard print method for functions with one that performs
syntax highlighting, using ANSI colors, if the terminal supports them.
## Installation
```r
install.packages("prettycode")
```
## Usage
Just call `prettycode::prettycode()` and start printing functions to the
screen. Long functions are automatically paged using the default pager.

## License
MIT © Gábor Csárdi
|