I'm doing a homework on Rnotebook which contains \texttt{X}
. When I Knitt to PDF
, there is an error
! Package pdftex.def Error: File `xxsxs_files/figure-latex/unnamed-chunk-1-1.pd
f' not found: using draft setting.
Error: LaTeX failed to compile xxsxs.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See xxsxs.log for more info.
Execution halted
If I remove \texttt{X}
, the exportation will go well. Could you please elaborate on how to solve this issue?
PS: I've just checked and found that Rstudio does not export to PDF the Rmarkdown containing \text{}
.