You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written some code to make a table using tbl_summary. After converting my tbl_summary object to a gt_tbl object I want to use gtsave to export my table to a word document. gt_save is working as expected the first time I run the code but on successive runs I get an error.
> Unknown output format doc
> Pandoc can convert to DOCX, but not to DOC.
> Error: pandoc document conversion failed with error 22
If I delete the word document created on the first run, it doesn't error on the second run but I want to produce a large number of tables so that's not a practical solution every time I want to run the code (e.g. after making tweaks).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've written some code to make a table using tbl_summary. After converting my tbl_summary object to a gt_tbl object I want to use gtsave to export my table to a word document. gt_save is working as expected the first time I run the code but on successive runs I get an error.
Example;
works fine but if I re-run the code;
I get this error;
If I delete the word document created on the first run, it doesn't error on the second run but I want to produce a large number of tables so that's not a practical solution every time I want to run the code (e.g. after making tweaks).
Any advice would be appreciated @rich-iannone
Beta Was this translation helpful? Give feedback.
All reactions