[R] R-code in html help pages: syntax highlighting

hadley wickham h.wickham at gmail.com
Mon Mar 16 21:51:44 CET 2009


> It would be pretty easy to use the output from the R parser (which is never
> wrong, is it?), and dump some markup out of it. For example the showTree
> function in codetools dumps an R expression as Lisp, this is not too far
> from generating html, or any other markup.
>
> As this sounds like fun, I'll volunteer to do something about this. Another
> advantage is that we can imagine to plug hyperlinks in  R code that lives in
> html help pages.

This also sounds like a good idea for a google summer of code project
- that way you might be able to get a student to give you a hand as
well.

Hadley

-- 
http://had.co.nz/




More information about the R-help mailing list