R2HTML Package

[This article was first published on fernandohrosa.com.br - en » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Update: I maintained R2HTML from the original pub date of this post (2005) up until version 1.59, but no longer maintain it. Maintenance is now back to the author of the package (Eric Lecoutre). Keeping this page just for posterity.


R2HTML is an R package, written and maintained by Eric Lecoutre currently maintained by me. It provides functions and methods to output different R objects to HTML files. It also has a Sweave driver to allow parsing of HTML files containing R code and automatically write the corresponding outputs.

Current released version: 1.59

Download source from CRAN: R2HTML_1.59.tar.gz.

Latest development snapshot (to be 1.60)

This package is being maintained on Sourceforge.net now. Please check its project page on http://sourceforge.net/projects/r2html/ for latest development snapshots and package releases.

Subversion (SVN) Access

Anonymous SVN access is provided for read-only via Sourceforge.net now. The repository address is: https://r2html.svn.sourceforge.net/svnroot/r2html. To checkout a working copy of the current development version, try:

$ svn co https://r2html.svn.sourceforge.net/svnroot/r2html/trunk

Todo List

  • Add method for printing epitools objects, as suggested by Ulrike Grömping.
  • Improvement of HTML.matrix(), which currently is generating invalid HTML code.
  • Overall improvement of CSS used.
  • As pointed out by Kurt Hornik, HTMLcore.R uses global variables and manipulates the user’s workspace, which is not a very recommended programming practice on R. A rewrite of the mechanism used to keep track of the .HTMLfile in use is needed, using, as suggested by Hornik, a dynamic variable inside the package.


The following RNews article by Eric Lecoutre is a good introduction to the package capabilities:

flattr this!

To leave a comment for the author, please follow the link and comment on their blog: fernandohrosa.com.br - en » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)