如何在内联块中换行?呈现Word文档
---
title: "R Notebook"
output: word_document
---
Cat `r cat("not \n working")`
writeLines `r writeLines("not \n working")`
print `r print("not \n working")`
capture.output + cat `r capture.output(cat("not \n working"))`
```{r results='asis'}
cat("not \n working")
```
EDIT Solution based on shafee and gaut's answers uses triple escape character\
---
title: "R Notebook"
output: word_document
---
Text `r "Simple \\\n is \\\n better"`