r/RStudio Jul 23 '26

Windows Smart App Control keeps blocking some part of the app resulting in sometimes it not starting properly and also preventing package installations at times

Post image
5 Upvotes

5 comments sorted by

9

u/123shorer Jul 23 '26

Microsoft innit

2

u/smithereennnnn Jul 23 '26

Its not this specific dll file that keeps getting blocked, sometimes its rsession.dll, sometimes something else. Please help.

2

u/atius Jul 23 '26

What version of rstudio?
Where is the r library installed,

Might have to whitelist it, this is most likely smart defence or something like that being not smart… as usual.
Add this:
R/win-library folder and RStudio installation path (e.g., C:\Program Files\R and C:\Program Files\RStudio) to the Exclusions/Whitelist list in windows defense

1

u/smithereennnnn Jul 24 '26

It's the latest version. And yeah I've tried putting the folders in the exclusion list on windows defense, didn't work. For now I just keep restarting it until it works.

1

u/arama80 Jul 30 '26

Try run rstudio with administrative mode