Error: pandoc document conversion failed with error 43


#1

Hello all,

I am having an issue trying to knit a .PDF

I have just started to use Markdown in R and I am trying to knit the tutorial script of RStudio.

this is the error I have:

! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again> 
                   relax 
l.105 \fontencoding\encodingdefault\selectfont

pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted

RStudio Version 0.99.896
Ubuntu version 16.4


#2

Is there a specific reason you are using old version of RStudio? Current is 1.1.383, so maybe updating will help.


#3

Thank you for the suggestion. I Update RStudio to 1.1.383 but I have still the same problem


#4

Looking around I found I had to install three packages:

texlive-latex-recommended
texlive-latex-extra
texlive-fonts-recommended

And then things worked!