![]() ![]() ![]() If we use the above to output LaTeX code, rather than a file, then Knit with RMarkdown, we do get the correct output, but it's a full page document that needs to be cropped.We can save table images with format = 'html', but they are not formatted properly.Which has been talked about before in the context of blogdown. When using as_image(), we get the following "cannot find file" error:Įrror in include_graphics(temp_png, dpi = img_dpi) :Ĭannot find the file(s): "C:/R Projects/export-anova/test.pdf" Latex = kable(x = table, format = "html") No pdf and no error messages.Ī simple reproducible example, which fails in the same way, is as follows: library(knitr) It all works just great for me on my Mac, but I've built it largely for a colleague who's on a PC, for whom the file writing fails when calling save_kable() from the kableExtra package. ![]() I'm working on a convenience function in R that prints a publication quality LaTeX table from some common model objects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |