[Solved] Convert RTF from R to PDF via command line
Posted: Tue Feb 21, 2023 3:38 pm
Hello,
I am creating tables with R and save the output as RTF files. Is there a server-mode/CLI/headless to convert RTF files to PDF with OpenOffice?
Note: I also considered using libreoffice, however reading my RTF files with Libreoffice has several issues (wrong font, mismatches in the table), and therefore I would rather like to use OpenOffice (where the output looks correct). As I have to do this for many files once a day, I am looking for a solution that I can automate on a Linux server.
Thank you for your help!
PS: Hope I added this to the correct forum ...
I am creating tables with R and save the output as RTF files. Is there a server-mode/CLI/headless to convert RTF files to PDF with OpenOffice?
Note: I also considered using libreoffice, however reading my RTF files with Libreoffice has several issues (wrong font, mismatches in the table), and therefore I would rather like to use OpenOffice (where the output looks correct). As I have to do this for many files once a day, I am looking for a solution that I can automate on a Linux server.
Thank you for your help!
PS: Hope I added this to the correct forum ...