【发布时间】:2014-10-28 08:53:16
【问题描述】:
我想使用不同的乳胶模板来渲染 R Markdown 版本 2。
我找到了以下建议:
a) 模板的位置
system.file("rmd/latex/default.tex", package="rmarkdown")
b) YAML 前端的变化
---
...
output:
pdf_document:
template: mytemplate.tex
---
但是,他似乎不是 R Studio/Pandoc 的正确模板位置,因为我收到以下错误消息:
pandoc.exe: Could not find data file templates\mytemplate.tex
【问题讨论】:
标签: r pandoc r-markdown