I was working on a project, then I accidentally opened the R source editor window. Rstudio was open in the background, so I closed the window in front of me and tried to return to my work, but I noticed that when the R source editor page is closed, the project page also closes in Rstudio. The history window is not enough because codes are very long. So, I could not find the file.