R2HTML Package

August 1, 2010

(This article was first published on fernandohrosa.com.br - en » R, and kindly contributed to R-bloggers)

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:

View Code BASH

$ 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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


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)