Recent files history R

3.5k Views Asked by At

How can one find an extensive list of R files that were opened in RStudio? Sort of like the list under File -> Recent Files but much longer?

1

There are 1 best solutions below

3
Sam On BEST ANSWER

I do not believe so. Per this question, it appears that the file history is stored locally at C:\Users\%USER%\AppData\Local\RStudio-Desktop\monitored\lists\file_mru. (Assuming Windows) When I looked at this file on my local machine, it simply matched the recent files I was seeing in RStudio. When I deleted a couple lines from the file_mru file, they also disappeared from RStudio.

However, given that they are stored in a text file, one could probably write some code to grab and store those filenames permanently, should you choose. Just doesn't appear that RStudio does that.