Created
October 7, 2014 19:08
-
-
Save danpolanco/0ce88d0e50c181749cdc to your computer and use it in GitHub Desktop.
Vim rmarkdown and knitr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I made this short function to process my rmarkdown files: | |
> function MarkIt() | |
> :n **/*.Rmd | |
> :bufdo silent! cd %:p:h && Rscript -e "library(rmarkdown); render('%:p')" | |
> :redraw! | |
> endfunction | |
It still needs testing and so forth, but I didn't want to lose it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment