Skip to content

Commit 1559f2e

Browse files
committed
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
1 parent cdd9e94 commit 1559f2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
# Session Data files
66
.RData
7+
.RDataTmp
78

89
# User-specific files
910
.Ruserdata

0 commit comments

Comments
 (0)