My workplace computer has recently been updated from Windows 7 to 10. It caused my R Markdown code chunks slow down quite significantly. The interesting part is that the slowdown doesn't affect the console but only affects the code chunks when I hit the green run button. In other words, if I copy and paste the code into the console, it would work just fine. I tried to reinstall RStudio though it didn't help. I also tried to put the entire R folder into the Windows Defender exclusion list per suggestion from a prior thread, but that didn't help, either. Does anyone have an idea? Many thanks in advance.
My environment:
Windows 10
RStudio v1.2.1335
R v3.5.3