jcfaria/Vim-R-plugin — pull request #121 by mdlerch (2014-08-30 23:28:23+00:00)
Title: Switch to rmarkdown for rmd files

rmarkdown essentially is a wrapper for knitr and pandoc.

This is related to jalvesaq/VimCom#10

I think I've switched all the all the rmd knit-ing to the rmarkdown package without losing any of the previous functionality. In addition to the output types that were already supported, other types can be specified in the .Rmd file yaml header.

I combined all the RMake*rmd functions into one, since this is quite easy with rmarkdown and should lead to a cleaner codebase for the vim-r-plugin. I also added two new mappings: RMakeRmd which makes the default type (first specified in yaml, or if nothing specified, html) and RMakeAll which makes all the types specified in the yaml. I am pretty sure that a person previously using rmd with the vim-r-plugin will not notice any change in functionality except that they will need to install the rmarkdown package: http://rmarkdown.rstudio.com/.

Finally, I think that the vim.interlace.rmd() function in VimCom is no longer needed.