]> source.dussan.org Git - gitignore.git/commitdiff
Ignore `.RData` files 1685/head
authorJim Hester <james.f.hester@gmail.com>
Fri, 2 Oct 2015 12:50:47 +0000 (08:50 -0400)
committerJim Hester <james.f.hester@gmail.com>
Fri, 2 Oct 2015 12:50:47 +0000 (08:50 -0400)
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_.

R.gitignore

index 49037a0b7cb23b852e2137060b55b1df4bea173b..8eff68f7058287845d34b59ee7473d3b14e37db2 100644 (file)
@@ -2,6 +2,9 @@
 .Rhistory
 .Rapp.history
 
+# Session Data files
+.RData
+
 # Example code in package build process
 *-Ex.R