Reputation: 397
My session on an RStudio server had crashed while reading a large file. Only when I log in it uses a large amount of memory. The server is a linux machine (Ubuntu).
I can't see anything in the workspace. I tried to terminate the session, restart and kill the process from the terminal unsuccessfully. I also removed the file I was reading, but it doesn't help.
It's stuck and doesn't seem that allows me to do anything.
Any suggestions what could I try to do?
Upvotes: 1
Views: 2058
Reputation: 397
I solved it by killing all processes in RStudio Server
sudo /usr/sbin/rstudio-server kill-all
sudo /usr/sbin/rstudio-server start
Then, deleting all history related files and directories from ~/.rstudio
After I started the RStudio Server session I waited a few minutes and eventually it came back and it allowed me to operate normally.
Upvotes: 1
Reputation: 8812
You ought to be able to get back to a good state as follows:
mv ~/.rstudio ~/.rstudio-old
.RData
in your RStudio project's directory, remove or rename it, tooThe new session should come up clean, with no data or files.
Upvotes: 2