【问题标题】:R Markdown displaying just displaying the resultR Markdown 只显示结果
【发布时间】:2012-06-11 14:39:54
【问题描述】:

我一直在探索 R Markdown 并遇到了这个问题。我在网上找到的所有可重现的示例报告,例如 http://jeromyanglim.blogspot.ca/2012/05/example-reproducile-report-using-r.html,都有代码和结果。

我只想得到结果,因此向观众隐藏代码。例如,我只想显示 ggplot2 或 googlevis 的最终结果,而不显示加载数据和编码的长行。

有办法吗?

【问题讨论】:

    标签: markdown rstudio


    【解决方案1】:

    只需将echo = FALSE 添加到代码chunk options

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-10
      • 2022-01-10
      • 1970-01-01
      相关资源
      最近更新 更多