From 09a78cc2bd668c2261c4432e64d202472da0d37e Mon Sep 17 00:00:00 2001 From: Jim Hester Date: Fri, 2 Oct 2015 08:50:47 -0400 Subject: [PATCH] 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_. --- R.gitignore | 3 +++ 1 file changed, 3 insertions(+) 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