Hi,

There is also the R package "highlight" [1,2] serving the same purpose but based on information from the R parser, not a static list.

highlight can render in html, tex, and directly for the console (with the help of the xterm256 package [3]).

Romain

[1] http://cran.r-project.org/web/packages/highlight/index.html
[2] http://romainfrancois.blog.free.fr/index.php?category/R-package/highlight
[3] http://cran.r-project.org/web/packages/xterm256/index.html


On 12/05/2009 01:50 AM, thatsanicehatyouh...@mac.com wrote:
Hello,

I've written a brush for R for the SyntaxHighlighter JavaScript library.
It allows you to display R code on a web page with the proper syntax
highlighting. It's available here:

http://demitri.com/code

Comments and suggestions for improvement are welcome!

Cheers,
Demitri

--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/Gq7i : ohloh
|- http://tr.im/FtUu : new package : highlight
`- http://tr.im/EAD5 : LondonR slides

______________________________________________
R-help@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.

Reply via email to