在R studio中使用Rmarkdown 我正在制作一个word文档(html不会这样做) 我在rmarkdown中有一个文本,有时包含代码块。
我正在尝试从此文本创建两列。 :
---
output: word_document
---
#Column 1
This is an R Markdown document. Markdown is a simple formatting syntax for
authoring HTML, PDF, and MS Word documents. For more details on using R
Markdown see <http://rmarkdown.rstudio.com>.
#Column2
When you click the **Knit** button a document will be generated that
includes both content as well as the output of any embedded R code chunks
within the document. You can embed an R code chunk like this:
我一直无法找到任何解决方案或任何接近解决方案的解决方案。我来的关闭是使用\ begin {column}和\ end {column},但它是一个旧的教程,对我不起作用......或者我做错了。
答案 0 :(得分:-1)
在您的YAML标头中尝试以下操作-
classoption:twocolumn