0

I want to send the below table in the body of the mail. i'm using mailR package.

+

------------+---------------+------------+
|    date    |  device_type  |  platform  |
+============+===============+============+
| 2017-01-24 |    desktop    |  Website   |
+------------+---------------+------------+
| 2017-01-24 |    mobile     |  Website   |
+------------+---------------+------------+
| 2017-01-24 |    tablet     |  Website   |
+------------+---------------+------------+
ariel
  • 77
  • 1
  • 1
  • 10
  • 1
    check out the `pander` package. – Ben Bolker Jan 25 '17 at 12:04
  • I check but i got an error message: "Error in if (file.exists(body)) body <- readChar(body, file.info(body)$size) : argument is of length zero" body = paste(pandoc.table(df1, style = 'grid')) – ariel Jan 25 '17 at 12:16
  • someone can help? – ariel Jan 26 '17 at 08:30
  • 1
    can you give a reproducible example? i.e., give us the data frame you're using (in reproducible/`dput()` form) and the `pander/mailR` commands you've tried so far? – Ben Bolker Jan 26 '17 at 13:12

0 Answers0