所以我在R中有一个项目,这是一个统计数学笔记本。我整个学期都在添加指向_site.yml的链接。本周末我更新了R,由于某种原因每次我在笔记本中编织.rmds,我都会收到以下错误。
config $ output [[“html_document”]]中的错误:下标超出范围 电话: - > - > patch_html_document_options 执行暂停
退出状态1.
我在尝试构建整个网站时遇到同样的错误。我也尝试在笔记本外面编织.rmds,这很成功。我到处寻找类似的问题,但我找不到任何相关的东西,(或者我的谷歌搜索可能不是那么好)。无论如何,让我的.rmds在这款笔记本上成功编织会很不错。我也卸载了Rstudio并重新安装它,但也没有用。 这是我的_site.yml(虽然我不知道它会有所帮助)。
name: "math-325-notebook"
navbar:
title: "Math 325 Notebook"
left:
- text: "Table of Contents"
href: index.html
- text: "Describing Data"
menu:
- text: "Graphical Summaries"
href: GraphicalSummaries.html
- text: "Numerical Summaries"
href: NumericalSummaries.html
- text: "Making Inference"
menu:
- text: "Making Inference"
href: MakingInference.html
- text: "t Tests"
href: tTests.html
- text: "Wilcoxon Tests"
href: WilcoxonTests.html
- text: "ANOVA"
href: ANOVA.html
- text: "Kruskal-Wallis"
href: Kruskal.html
- text: "Linear Regression"
href: LinearRegression.html
- text: "Logistic Regression"
href: LogisticRegression.html
- text: "R Help"
menu:
- text: "R Commands"
href: RCommands.html
- text: "R Markdown Hints"
href: RMarkdownHints.html
- text: "Analyses"
menu:
- text: "Analysis Rubric"
href: ./Analyses/AnalysisRubric.html
- text: "Good Example Analysis"
href: ./Analyses/StudentHousing.html
- text: "Poor Example Analysis"
href: ./Analyses/StudentHousingPOOR.html
- text: "My First Analysis"
href: ./Analyses/StudentHousingII.html
output_dir: '.'
我读到的关于下标超出界限的大多数帖子与数组有关,他们试图从域中获取数字,我认为这与这种情况无关。
答案 0 :(得分:1)
正如人们所知,我得到了回答,它最终成为了rmarkdown库,最新版本中出现了某种错误,我安装了版本之前它似乎在这方面工作得很好,我有另一个现在其他地方的bug,但我想我可以解决这个问题。