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