! Package inputenc Error: Unicode character λ (U+03BB) (inputenc) not set up for use with LaTeX. while trying to knit in RMD
! Package inputenc Error: Unicode character λ (U+03BB) (inputenc) not set up for use with LaTeX. while trying to knit in RMD
我正在尝试编写 RMD 文件,因为我需要在 pdf.The 中提交它 当我在 运行 中时代码工作正常,在 RMD.I 中出现这些错误,我一点知识都没有
输出文件:BUAN6356_Homework4_Group10_1.knit.md
!包 inputenc 错误:Unicode 字符 γ (U+03BB)
(inputenc) 未设置为与 LaTeX 一起使用。
如果您使用的是 pdflatex,请尝试使用其他 LaTeX 引擎(例如 xelatex)。对于 R Markdown 用户,请参阅 https://bookdown.org/yihui/rmarkdown/pdf-document.html
错误:编译失败 BUAN6356_Homework4_Group10_1.tex。有关调试提示,请参阅 https://yihui.name/tinytex/r/#debugging。有关详细信息,请参阅 BUAN6356_Homework4_Group10_1.log。
执行暂停
author: "Chitresh"
date: "`r Sys.Date()`"
output:
pdf_document: default
html_document: default
---
我在 rmd 文件的开头使用了这段代码。我没有使用 pdf 作为默认格式,而是使用了 Xelatex,它工作正常并且我能够正确地编织它而没有出现上述错误。
---
title: "Homework"
author: "Chitresh"
date: "`r Sys.Date()`"
output:
pdf_document:
latex_engine: xelatex
---
我正在尝试编写 RMD 文件,因为我需要在 pdf.The 中提交它 当我在 运行 中时代码工作正常,在 RMD.I 中出现这些错误,我一点知识都没有
输出文件:BUAN6356_Homework4_Group10_1.knit.md
!包 inputenc 错误:Unicode 字符 γ (U+03BB) (inputenc) 未设置为与 LaTeX 一起使用。
如果您使用的是 pdflatex,请尝试使用其他 LaTeX 引擎(例如 xelatex)。对于 R Markdown 用户,请参阅 https://bookdown.org/yihui/rmarkdown/pdf-document.html 错误:编译失败 BUAN6356_Homework4_Group10_1.tex。有关调试提示,请参阅 https://yihui.name/tinytex/r/#debugging。有关详细信息,请参阅 BUAN6356_Homework4_Group10_1.log。 执行暂停
author: "Chitresh"
date: "`r Sys.Date()`"
output:
pdf_document: default
html_document: default
---
我在 rmd 文件的开头使用了这段代码。我没有使用 pdf 作为默认格式,而是使用了 Xelatex,它工作正常并且我能够正确地编织它而没有出现上述错误。
---
title: "Homework"
author: "Chitresh"
date: "`r Sys.Date()`"
output:
pdf_document:
latex_engine: xelatex
---