Take the 2-minute tour ×

Is there a way to easily export R tables to a simple HTML page?

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted

The xtable function in the xtable package can export R tables to HTML tables. This blog entry describes how you can create HTML pages from Sweave documents.

share|improve this answer
print(xtable(tb), type = "html"), to be precise. Thanks for the link! –  aL3xa Aug 9 '10 at 8:49
add comment

Apart from xtable mentioned by nullglob there are three more packages that might come handy here:

share|improve this answer
add comment

Your Answer


