# pandoc: error producing pdf error: pandoc document conversion failed with error 43 execution halted

73 views

## Problem :

I am getting the bellow error when I am trying to knit a PDF document.
pandoc: error producing pdf error: pandoc document conversion failed with error 43 execution halted

## Solution :

I had faced this problem in the past while I was trying to add an in-line r code r test1$p.value, which is a very small p-value from t test The error information is as bellow: > ! Missing$ inserted.
>  <inserted text>
>            \$
>l.147   9.0044314\times
>
>pandoc: Error producing PDF
>Error: pandoc document conversion failed with error 43
>Execution halted


I guess the problem is the pdflatex engine that has a trouble in displaying the small p-value in exponential notation. I resolved the issue by clicking on the gear symbol next to the knit button. After that the under the output options, advanced tab I changed the LaTeX Engine to lualatex, or you can just report the p-value as p < 0.001.

And my problem got fixed.

## Related questions

1 vote
104 views
Problem: I have some knowledge about R and Rstudio. Currently I am trying to install the package known as dplyr but it constantly shows me the below error: Error in install.packages : missing value where TRUE/FALSE needed. Please find below my console history for your ... very limited knowledge about R and Rstudio so I am unable to fix it. I am still facing the same error please guide me.
1.3K views
Problem : Chrome is not redirecting, nor it is changing my previous page, it is just report the below warning in my console: &ldquo;Resource interpreted as Document but transferred with MIME type application/zip.&rdquo; The above process works correctly in my Firefox, and also it works ... the http://0.0.0.0:xxxx/files/download.zip. Am I doing anything wrong here, or is this the bug with Chrome?
1 vote