如何在rmarkDown中的文本/句子中包含代码?
是否可以在rmarkDown中运行代码 ?
我想在HTML中写一些文本,并包括代码,例如:
最大的销售具有独特(DF $ City)
去年...
```{r}
some code
````
is it possible to run the code outside the chunk in rmarkdown?
I want to put some text in html and include code, for example:
The biggest sales had unique(df$city)
last year...
```{r}
some code
````
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
内联代码:
https://rmarkdown.rstudio.com/lesson-4.html
Inline code:
https://rmarkdown.rstudio.com/lesson-4.html