An alternative to enscript is highlight,
http://www.andre-simon.de/doku/highlight/en/highlight.html, which does
come with R highlighting built in.
Hadley
On Tue, Jul 15, 2008 at 2:57 PM, cmr.Pent at gmail.com <cmr.Pent at
gmail.com> wrote:> Hi group!
>
> GNU enscript is a free (as in freedom) text file decorator, which
> among other features can highlight source code files. The language
> syntax descriptions are provided via special "states" files. The
> standard distribution contains states files for the most popular
> languages (C, C++, Pascal, LaTeX, etc), but sadly there is no states
> file for R.
>
> Does anyone know if there is a place where I can obtain enscript
> states file for decorating R scripts? Many thanks!
>
> Andrey Paramonov
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
http://had.co.nz/