# NOT RUN {
# to print LaTeX output:
options(huxtable.print = print_latex)
# to print huxtables like data frames:
options(huxtable.print = function(x, ...) print(as.data.frame(x)))
# }
# NOT RUN {
ht <- hux(a = 1:3, b = 4:6)
format(ht, output = 'screen')
format(ht, output = 'md')
# }
Run the code above in your browser using DataLab