Problem saving table #464
-
|
Dear David, thank you for providing this exceptional package! I have encountered the following problem: I have a table with around 750 entries 13 columns. I can create a flextable object and also view it in RStudio. I can also save it e.g. as an excel file. If I try to save it with save_as_docx() (or any other helper function) it prints an error: Error in read_xml.raw(charToRaw(enc2utf8(x)), "UTF-8", ..., as_html = as_html, : Is there a possibility to work around this? Regards, Tobias Saueresssig |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
It's difficult to reproduce but it certainly happens because the data is too bit. flextable's goal is to enable static reporting, for reasonable table sizes. In your case I think a simple use of kable in an R Markdown document would be better. |
Beta Was this translation helpful? Give feedback.
-
|
Hi David, just wanted to say that I could output it via flextable by using Quatro and rendering to word. Thanks. |
Beta Was this translation helpful? Give feedback.
It's difficult to reproduce but it certainly happens because the data is too bit. flextable's goal is to enable static reporting, for reasonable table sizes. In your case I think a simple use of kable in an R Markdown document would be better.