小编ask*_*ing的帖子

rmarkdown:pandoc:未找到pdflatex

当我使用render {rmarkdown}从我的Mac上的.Rmd文件生成pdf文件时,会显示一条错误消息

pandoc: pdflatex not found. pdflatex is needed for pdf output. Error: pandoc document conversion failed

但是当我检查时

pdflatex -v
Run Code Online (Sandbox Code Playgroud)

我有

pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012)
kpathsea version 6.1.0
Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of …
Run Code Online (Sandbox Code Playgroud)

macos r pdflatex pandoc r-markdown

54
推荐指数
6
解决办法
6万
查看次数

标签 统计

macos ×1

pandoc ×1

pdflatex ×1

r ×1

r-markdown ×1