【问题标题】:What is the code behind the knit html button in rstudio 0.98.501?rstudio 0.98.501 中 knit html 按钮背后的代码是什么?
【发布时间】:2014-03-20 11:09:40
【问题描述】:

我按照 Rstudio 的建议发送给 Customize Markdown Rendering。并在项目目录的根目录下创建了一个 .Rprofile 文件,该文件覆盖了默认的 Markdown 渲染选项。但似乎有an issue with equation rendering(见我之前的问题)。

RSTUDIO 版本 0.98.501 中“knit html”按钮背后的代码是什么?

【问题讨论】:

    标签: r rstudio


    【解决方案1】:

    它正在运行rmarkdown::render('your_file.Rmd')

    默认情况下,它将在同一目录中创建一个与您的.Rmd 文件同名的输出文件。如果您查看文档 [1] 的代码,您会发现实际上可以分别为不同的文件名和不同的目录指定 output_fileoutput_dir

    [1]http://cran.r-project.org/web/packages/rmarkdown/

    【讨论】:

      猜你喜欢
      • 2015-03-08
      • 1970-01-01
      • 2017-07-12
      • 1970-01-01
      • 2015-11-17
      • 1970-01-01
      • 2016-04-08
      • 2011-03-21
      • 2020-06-30
      相关资源
      最近更新 更多