added code to print xtable via chunk