I have a large dataframe which I want to make htmlTable of. Why is htmlTable so long compared to xtable. Following code takes only couple of seconds with xtable, while htmlTable takes about a minute ...