title: Send tables via email using R
body: <p>I have created two tables that I would like to send in body email using R. </p>
  
  <p>Currently I am using mailR package and have managed to send one of the tables, however I can't find a way to include both tables in the email. Please note that the two tables have different number of columns (and so I can't append them). Any suggestions? Thanks</p>
  
  <pre><code>send.mail (from = "email",
         to = c("email"),
         subject = "Something",
         body = print(xtable(tablename), type = "html",
                      format.args = list(big.mark = ",", decimal.mark = "."),
                      size="\\fontsize{10pt}\\Arial",
                      booktabs = TRUE,
                      include.rownames = FALSE), 
         html = TRUE,
         smtp = list(host.name = "hostname"),
         attach.files = c(paste0("G:/",
                                 format(Sys.time(), "%d-%b-%Y"), ".xlsx")),
         send = TRUE)
  </code></pre>