+ 2

Hello everyone , I need help ! have a proble m with Rstudio I can't install library packages !

I m working on a project with markovchain , but there is a problem in installing library like markovchain or diagram .. I tried to install them from tools , packages , .. but there is always the same error: (/win-library/4.1 is not writeable) , even I delet and reinstall Rstudio in other versions like 4.1.3 , 4.1.2 ...

16th Mar 2022, 4:10 PM
dorra rjaibi
dorra rjaibi - avatar
5 odpowiedzi
+ 3
Happy to help! Happy Coding 🤠
16th Mar 2022, 4:49 PM
Adil
Adil - avatar
+ 4
If you are using Windows try turning off Windows Security real time protection.
16th Mar 2022, 4:34 PM
Adil
Adil - avatar
+ 3
But, don't do it permanently, it was just for testing. Because this way you will be exposed to several security threats. You can set an exception in Windows Security for Rstudio to make it work. You can do it by following the steps given in this link. https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26#ID0EBF=Windows_10
16th Mar 2022, 4:45 PM
Adil
Adil - avatar
+ 1
Yeah that was the problem windows defender was activated
16th Mar 2022, 4:48 PM
dorra rjaibi
dorra rjaibi - avatar
+ 1
Thank you for help
16th Mar 2022, 4:48 PM
dorra rjaibi
dorra rjaibi - avatar