How to make newlines in inline chunks ? Rendering a word document
---
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"`
We can use:
```{r results='asis'}
cat(paste("it is", "\\\n", "working"))
```