R2HTML is a package for R, which includes HTML function and methods to output R objects to HTML. Allow for redirection on the fly. A driver for Sweave allows to parse HTML flat files containing R code and to automatically write the corresponding outputs.