As @haozhu233 says r studio may start/run slowly is it is saving a lot state. Here is an article that show how to reset that state which may clean up the issue you are having. Of course you will lose all the state you have built up...
All my R workspaces and scripts live on my C drive, and none are copied to the network. R libraries may be copied to both places, but RStudio is slow to start even when I'm off the network.
Resetting R's desktop state made it start virtually instantaneously, but it will become slower as I use more projects, I expect. The developers should consider changing the desktop state system. What function does all that housekeeping serve?
My machine is an i7 with Win7 Professional and all my drives are solid state, so it is a blindingly fast bit of hardware.
Unfortunately, it's quite difficult to get to the bottom of issues such as this -- not all users are encountering this issue, so it may be some sort of bad interaction between RStudio and your environment, or the way your machine / R is configured.
We did have some reports from Windows users related to slowness when using View(), as discussed here:
You didn't say what version of RStudio you're using, but if you're running into the same issue, it should be resolved in the latest release (v1.1.442).
I've upgraded to the latest version and all the students will shortly be on that version too, I hope. It's better, but still up to 30 seconds for a startup, which is what the previous version started at before it got progressively worse. Yes, Viewing files is much better, thanks.
Hello EuanGMason and others!
One year later and I am still facing the same issue. I run the same R code which slow down the R-Studio with the „View()“-function in R (not in R-Studio) and noticed that X11 is pop-up. This step makes the machine so much slower as every row is displayed by cell one after another. You can see the computer building the table. Maybe this is the reason why the processing speed is reduced also in R-Studio.