浏览代码

Add knitr and R markdown patterns to R.gitignore

These patterns handle cache diretories and temporary files created
by the widely used [knitr](http://yihui.name/knitr/) and [R markdown](http://rmarkdown.rstudio.com/)
packages.
jrnold 9 年之前
父节点
当前提交
4956277b1a
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      R.gitignore

+ 8 - 0
R.gitignore

@@ -23,3 +23,11 @@ vignettes/*.pdf
 
 
 # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
 # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
 .httr-oauth
 .httr-oauth
+
+# knitr and R markdown default cache directories
+/*_cache/
+/cache/
+
+# Temporary files created by R markdown
+*.utf8.md
+*.knit.md