简体   繁体   中英

Where is the default .RData workspace saved in a Linux environment?

I am running RStudio on a compute cluster, and every time I launch an RStudio instance it immediately crashes. I suspect there is something wrong with the workspace that loads by default. However, I can't actually find where this workspace is stored. How do I delete this file?

I found a hidden file named .Rdata in the /usr/ directory. But when I rename this file and boot up an instance of RStudio, the old workspace still boots up.

I resolved the problem by renaming the folder in the RStudio-Desktop Directory:

~/.rstudio-desktop/sources/

If you're not using Linux, you can find the location of your RStudio-Desktop Directory here:

https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM