From: Jim Hester Date: Fri, 2 Oct 2015 12:50:47 +0000 (-0400) Subject: Ignore `.RData` files X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=09a78cc2bd668c2261c4432e64d202472da0d37e;p=gitignore.git Ignore `.RData` files N.B. this ignores only the exact file `.RData` generated by default from `save.image()` and `quit()`. It is _not_ what is referred to in https://github.com/github/gitignore/commit/1f8466164330277fc8c9126ded3cc207ff3baf91 and http://cran.r-project.org/doc/manuals/r-release/R-exts.html#Data-in-packages, which refers only to files with an `*.RData` _extension_. --- diff --git a/R.gitignore b/R.gitignore index 49037a0b..8eff68f7 100644 --- a/R.gitignore +++ b/R.gitignore @@ -2,6 +2,9 @@ .Rhistory .Rapp.history +# Session Data files +.RData + # Example code in package build process *-Ex.R