I quite often have the problem that RStudio stops working in a strange way.
The symptoms are as follows.
I enter a command in the console, e.g. 1+1
and press the enter key, but nothing happens. There is no red sign that indicates that the session is busy, no +
at the beginning of the line that indicates that R believes the command is not yet completed. The console just keeps acting as a normal text editor, I can write stuff, press enter and it shows a new line etc., without a +
or a >
in front of it.
RStudio itself will be able to save files, navigate folders, etc., but nothing that requires it to communicate with the R instance (e.g. checking version).
Sometimes, after a ridiculously long time (e.g., 10 minutes), R will parse all the commands as if I just entered them.
I have the feeling that this is connected to when RStudio tries to autofill suggestions following a $
in a large tibble, but this is a wild guess.
This problem occurs with various versions of RStudio and R, e.g. 2024.04 and R 4.3.2. I am on windows.
I appreciate any suggestions how to proceed in addressing this issue.