R projects on VPN network drives neither running nor knitting in Windows 11

R projects saved on network drives and accessed via VPN do not run code or knit from R markdown files on my Windows 11 laptop (24 GB RAM, 1TB SSD). The RAM is not maxed out with any attempted running of code, as even basic code like x <- 1 or gc() typed into the console do not execute in Rstudio in Windows 11.

These R projects and basic code like above do run and knit on Windows 10 and macOS though, so the issue seems specific to Windows 11 rather than the R code or projects.

I would be most grateful for any insights on how to successfully run and knit R projects on network drives in Windows 11 systems.

For reference, I'm using R version 4.5.0, Rtools version 4.5, and RStudio version 2025.05.0.

If possible, try putting the project scratch files on a local drive (somewhere that isn't synced with a cloud drive or on a network drive).

This is done from Project Options, here:

Thank you very much for your kind response. Even after changing the project scratch file path to a local drive as suggested (e.g., Downloads), I'm afraid the projects and code remain unable to run or knit in Windows 11.

Are there perhaps other things I should try to do to resolve this?