I have two xtables and I would like to extract them the same .tex file then I can call them to my main.tex with \\newcommand
print(xtable(head(mtcars), digits