![](/img/trans.png)
[英]beamer rmarkdown presentation unable to knit pdf file instead knit html document that too is not knitted
[英]Unable to knit the Rmarkdown file to pdf
我尝试将 R-markdown 文件编入 Pdf,但一直收到错误消息。 我已经包含了错误的屏幕截图。 第 107 行的 r 块是:
#means and confidence intervals
ggplot(data = lizard_means_dataframe, aes(x = dist_pred_nest, y = emmean, colour = dist_pred_nest)) +
geom_point(size = 2) + geom_errorbar(aes(ymin = lower.CL, ymax = upper.CL), lizard_means_dataframe, width = 0.2) +
scale_color_brewer(palette = "Dark2") + guides(colour="none") +
theme_classic(base_size = 16) + xlab ("Distance to the nest of a predator") + ylab ("Distance to the neighbor lizard territory")
我应该在这里做什么?
我通过创建另一个 R-markdown 文件并将输出设置为 pdf 文档解决了我的问题。 我无法使用render
函数来指定输出格式。 我卸载了 Miktek 并安装了 Teklive。 现在我可以成功编织我的文档了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.