如何解决编织Rmd后,pdf文件不包含块中的图形,但图形文件夹中有
我正在从 Rmd.
编织一个 pdf 文件。我的工作目录包括 .Rmd
文件和 pdf 输出。 Knitr 将所有图形发送到 figure
文件夹,因为我将图形路径设置为 fig.path <- "figure/"
。但是当我编织 pdf 文件时,它给了我一个错误:! LaTeX Error: File `figure/figure-1' not found.
尽管所有数字都在 figure
文件夹中。我的目录有问题,但我无法弄清楚究竟是什么。
这是我的设置:
---
title: "Paper"
subtitle: "\\textsc{Online Paper}"
df_print: paged
author: "Anonymous"
output:
pdf_document:
extra_dependencies: flafter
includes:
# in_header: Helper/header.tex
latex_engine: xelatex
number_sections: yes
link-citations: yes
html_document:
df_print: paged
# bibliography: Helper/bibtex.bib
biblio-style: apa6
link-citations: yes
linkcolor: blue
urlcolor: blue
---
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。