簡體   English   中英

R降價不會在pdf中編織作者姓名

[英]R markdown doesn't knit author name in pdf

我正在用 r markdown 編寫文檔。 當我將其編織為 pdf 時,pdf 僅顯示“true.

編織與 html 輸出完美配合,此外在我看來它應該可以工作。

---
title: "knitr will you work please?"
author:
  name: John Smith
output: pdf_document
---

輸出將顯示

knitr will you work please?
true

並不是

knitr will you work please?
John Smith

應該是這樣的

---
title: "knitr will you work please?"
author: John Smith
output: pdf_document
---

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM