Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recent files history R

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?

like image 582
Vykta Wakandigara Avatar asked Oct 29 '22 08:10

Vykta Wakandigara


1 Answers

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.

like image 88
Sam Avatar answered Nov 09 '22 12:11

Sam