rmarkdown: pandoc: pdflatex not found

后端 未结 7 1307
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 06:58

When I use the render{rmarkdown} to produce pdf file from .Rmd file on my Mac, an error message says

pandoc: pdflatex not found. pdflatex is needed for pdf output.

7条回答
  •  情话喂你
    2021-01-31 07:40

    For people using ubuntu who get stranded here a better option (because it is 1/5 the size) is to use:

    sudo apt-get install texlive-latex-base
    

    Which I found via https://tex.stackexchange.com/a/128309

提交回复
热议问题