s-mckay-curtis/mcmcplots — pull request #2 by ilyagoldin (2012-06-01 03:11:54+00:00)
Title: Better HTML from mcmcplot()

Here are some changes to how mcmcplot() handles HTML.
1. Drop dependency on R2HTML.
2. Generate our own XHTML. It's not quite valid XHTML, because it omits the alt attribute on img elements. It seems like alt is unnecessary for this usecase, but we can always add it later.
3. Mark up the new XHTML with class and id attributes for easy CSS styling.
4. Create a prototype of a stylesheet.
5. Pass through error messages into the generated XHTML in case a plot cannot be generated. mcmcplot() used to die in such circumstance.