Converting Rmarkdown to PDF without RStudio

大城市里の小女人 提交于 2019-12-05 22:49:51

A few things:

  • "the command fails on pandoc not being available." well you must have pandoc installed in order to call it -- but you didn't say what OS you have. On Linux it is pretty trivial to install pandoc from the package manager; otherwise jgm has binaries for you on the site; "should" be similar on OS X

  • for different styling you need to modify the LaTeX code which you can via numerous hooks to include macro files; see the RMarkdown cheat sheets for detail

  • if you want to exercise more control, you can supply your own template; I have done so in the tint package (which is also on CRAN)

  • if all that is in place, it is indeed just a call to rmarkdown::render(...)
Chp11

Error: pandoc version 1.12.3 is required and was not found

I think the error says it plainly: you need pandoc 1.12.3 and you have pandoc 1.9.4.1

I do not know, however, why such a specific version is required.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!