我正在尝试使用编织和合并方法来使用bookdown
包创建一本书。我在new_session: yes
文件中添加了_bookdown.yml
行,现在当我尝试预览章节bookdown::preview_chapter("data-preparation.Rmd")
时,出现以下错误:
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'introduction.md': No such file or directory
这是我的_bookdown.yml
文件的样子:
delete_merged_file: true
rmd_files: [
"index.Rmd",
"introduction.Rmd",
"preliminaries.Rmd",
"data-preprocessing.Rmd",
"data-preparation.Rmd",
"data-insights.Rmd",
"statistical-modeling.Rmd"
]
# Use knit and merge rendering approach
new_session: yes
language:
label:
fig: "FIGURE "
tab: "TABLE "
ui:
chapter_name: "Chapter "
有人可以指导我解决此问题吗?