Add .RDataTmp to R.gitignore

When saving `.RData`, all data is initially saved in `.RDataTmp` which
is then renamed to `.RData`.

`.RDataTmp` should be added to `.gitignore` since it will only exist
while a save operation is in progress or something failed on save.

Relevant links:
- https://stackoverflow.com/questions/32098036/purpose-of-rdatatmp-temporary-file-r
- https://github.com/wch/r-source/blob/trunk/src/library/base/R/load.R#L145-L154
This commit is contained in:
LeixB 2021-11-29 17:26:20 +01:00
parent cdd9e946da
commit 1559f2ee6b
No known key found for this signature in database
GPG Key ID: FC035BB2BB28E15D

View File

@ -4,6 +4,7 @@
# Session Data files # Session Data files
.RData .RData
.RDataTmp
# User-specific files # User-specific files
.Ruserdata .Ruserdata