Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hidden file from 1969 in R Project?

Tags:

r

rstudio

My R Project has a strange file

that was last edited on Dec 31, 1969. It's called "write-test-" and then a bunch of alphanumerics. The file doesn't show up in my file explorer, even when showing hidden files.

Any ideas on this, and should I worry at all?

like image 520
astrofunkswag Avatar asked Dec 14 '25 10:12

astrofunkswag


1 Answers

When you open an R project, RStudio needs to see if you have write access to the project. It figures this out by writing a small temporary file called write-test-NNNN to the project. If it is successful, then it knows you have write access to the directory, and it removes the file.

So what happened (at some point in the past, probably) was that RStudio was able to write this file, but not able to remove it. This is harmless and you can ignore it if you're not seeing permissions errors in the project. You can safely ignore or delete the file.

like image 156
Jonathan Avatar answered Dec 15 '25 22:12

Jonathan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!