0

I want to create an R output to look like a text table.

My dataframe is this:

  header1 header2                         header3
1  abcdef   horse today is going to be a good day
2     123    ball    yesterday was not a good day

But, I would like for the output to look like this:

+---------+---------+-------------------------+
| header1 | header2 |         header3         |
+---------+-----------------------------------+
|abcdef   |horse    |today is a great day     |
+---------+---------+-------------------------+
|123      |ball     |tomorrow is a greater day|
+---------+---------+-------------------------+

I feel like there is a function that can do this, but I am not able to find it. Thanks for your help in advance!

maloneypatr
  • 3,562
  • 4
  • 23
  • 33

0 Answers0