2
我想知道是否有可能直接在句子中嵌入R markdown
结果如下:Rmarkdown - 嵌入在一个句子
让我们想象一下,这是我的R markdown
文件
---
title: "R markdown is great"
author: "Giacomo"
date: "15 Oct 2015"
output: pdf_document
---
The mean number of `disp` is
```{r}
mean(mtcars$disp)
```
and the ...
所以我得到
是否有可能产生类似
\ disp \的平均数是\ mean意思(disp)\'。 – Benjamin
哇我不知道我们可以做到这一点!惊人。你能否回答我可以解决这个问题。谢谢 – giacomo