This problem has been reported several times: When working with a project that is located on a network drive (Windows default net use
), RStudio becomes painfully slow.
The problem does not occur in network-located projects per se. When runing code in the console, that is fast. But as soon as the code is in a markdown editor (rmd file) and runs from there, there seems to be an issue with output caching. Even code that only defines functions is executed slow.
Here is a video to visualize the issue:
https://drive.google.com/file/d/1oZCJuMotypRJ846jlfkNO4NTYYFlQ4Pt/view?usp=sharing
Knitting the rmd to HTML or PDF works fast and without problems, therefore this seems a issue with the markdown editor.
System: Windows 10 (x86_64-w64-mingw32), RStudio 1.3.1073, R 4.0.2 (2020-06-22)
Network connection: Download 12.30 Mbit/s, Upload 12.08 Mbit/s, Ping 38.76 ms, Jitter 32.34 ms
Update: Filed a bug report https://github.com/rstudio/rstudio/issues/8034