thatsanicehatyouhave at mac.com
2009-Dec-05 00:50 UTC
[R] [Ann] R brush for SyntaxHighlighter
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
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, thatsanicehatyouhave at 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