Html – Error: pandoc document conversion failed with error 1033 Execution halted

htmlknitrpandocr

I am getting below error message while knitting my rmd file to html. Can you please help me with this?

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS
linearRegression-1-.utf8.md –to html4 –from
markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash+smart
–output linearRegression-1-.html –email-obfuscation none –self-contained –standalone –section-divs –template "C:\Users\anjal\Documents\R\win-library\3.6\rmarkdown\rmd\h\default.html"
–no-highlight –variable highlightjs=1 –variable "theme:bootstrap" –include-in-header "C:\Users\anjal\AppData\Local\Temp\RtmpSiwyJO\rmarkdown-str12247b161a33.html"
–mathjax –variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
Error: pandoc document conversion failed with error 1033 Execution
halted

Regards,
Anjali

Best Answer

I found a solution. The error happened to me when I install tynitex. So I uninstall it with tynitex::uninstall_tynitex(). After that delete the Html, log and tex generated by Rmarkdown. After that build your Html and should work.

Related Topic