keep_md: TRUE does not work in RStudio


title: "PA1_template.Rmd"
author: "Giuseppa Cefalu"
date: "July 31, 2019"
output: html_document:
keep_ml: TRUE

ERROR:
Error in yaml::yaml.load(..., eval.expr = TRUE) : Scanner error: mapping values are not allowed in this context at line 4, column 22 Calls: ... parse_yaml_front_matter -> yaml_load -> Execution halted

Make sure that the indents are in the correct places within your YAML header and use either true or yes, not TRUE:

title: "PA1_template.Rmd"
author: "Giuseppa Cefalu"
date: "July 31, 2019"
output: 
  html_document:
    keep_md: true
3 Likes

Thank you very much for your help!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.