Error in YAML with R Markdown

后端 未结 2 1523
春和景丽
春和景丽 2020-12-21 04:23

I have the following R Markdown script called test.Rmd:

---
params: 
  results: 
  value: !r mtcars
---

```{r setup, echo=FALSE, include=FALSE}         


        
2条回答
  •  一生所求
    2020-12-21 05:04

    1. Install the devtools package from CRAN.
    2. In R, run the following:

      library(devtools)

      install_github('viking/r-yaml')

提交回复
热议问题