Table integration from R to Word
Posted: Sat May 06, 2017 9:08 am
I rather work with R than with the Jamovi GUI, but I'm actually not quiet sure yet, about the most decent way to integrate the pretty tables from the R console into a Word document. Copy & Paste doesn't work - at least not with LibreOffice.
It seems like I can either convert the RMarkdown file into a HTML Document and than paste the table to Word or convert it directly into Word with the help of LaTeX. The second approach looks a bit nicer, but in either way the format changes from the nice looking table in the R console to a slightly different table.
Instead of:
_______________________________________________
There is:
------------------------------------------------------------------
So I need to change it every time manually. Is there a more clever way to do it?
In addition it would be helpful if the table automatically splits into two tables or change the font size of the content so there won't be a weird looking second line in the table, if there are more columns than space in the Word document.
Thanks in advance!
It seems like I can either convert the RMarkdown file into a HTML Document and than paste the table to Word or convert it directly into Word with the help of LaTeX. The second approach looks a bit nicer, but in either way the format changes from the nice looking table in the R console to a slightly different table.
Instead of:
_______________________________________________
There is:
------------------------------------------------------------------
So I need to change it every time manually. Is there a more clever way to do it?
In addition it would be helpful if the table automatically splits into two tables or change the font size of the content so there won't be a weird looking second line in the table, if there are more columns than space in the Word document.
Thanks in advance!