在编织所有文件类型(html,pdf,word)时我注意到了这个问题.为了确保没有特定于我的程序的问题,我继续运行您在创建新的降价时获得的默认.rmd文件.在每种情况下,它都正确编织,但我总是在最后看到这一点.我在网上和这里搜索过,但似乎无法找到解释
Error in yaml::yaml.load(string, ...) :
Scanner error: mapping values are not allowed in this context at line 6, column 19
Error in yaml::yaml.load(string, ...) :
Scanner error: mapping values are not allowed in this context at line 6, column 19
Error in yaml::yaml.load(string, ...) :
Scanner error: mapping values are not allowed in this context at line 4, column 22
Run Code Online (Sandbox Code Playgroud)
这是我的默认YAML
---
title: "Untitled"
author: "Scott Jackson"
date: "April 20, 2017"
output: word_document
---
Run Code Online (Sandbox Code Playgroud)
第4行第22列是7和"我不确定第6行第19列的位置"之间的空间,但该行是底部的破折号
有任何想法吗?
谢谢.