-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
! Undefined control sequence #501
Comments
I think by adding Another possible way of solving this is to use the new |
I still have the error if I use the following function
I have a look on your pdf : https://haozhu233.github.io/kableExtra/awesome_table_in_pdf.pdf But if I wrote |
Yeah, |
Also, why do you have options(kableExtra.latex.load_packages = FALSE) while you don't have all the required latex packages? I don't think you can even render a document by hitting the knit button. |
I do not remember, I think I've added it at the beginning as a potential solution, but now I deleted it. Not also that I did not change the function I've updated your package (now v1.2.1), and tested it again with the same function. And now it works, even with or without But in my case, I do not know if it is because I specify
Thank you ! |
Hi,
I am using a combination of knitr with kableextra. I wanted to export a summary table from my statistical analysis but I have an error when I want to compile my report (in rmd) into a pdf with the function
rmarkdown::render
. But it is working when I use the knit button on Rstudio.I have copy/paste a reproductible example below. My question was also on stackoverflow, because I thought at the beginning that the error come from another package (which is not true). My question is also here: https://stackoverflow.com/questions/63580502/undefined-control-sequence-with-r-rmarkdown-knitr
I am using Ubuntu v18. Details of my package are also reported on the stack link. But I am maybe not the only one to have this error. When I delete the table, the function is working (
rmarkdown::render
) so I think that the error come from the table created with kableextra. the function used isDo I forget something? An example of report rmd is just after
The text was updated successfully, but these errors were encountered: