Packages installation on windows

Hi everyone

I need help installing packages on my window R Studio (The latest version).
I was trying to install some packages and the updates are not installing though, they are downloaded but not installed. I got the below warning:

The downloaded source packages are in
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
'lib = "C:/Program Files/R/R-4.1.0/library"' is not writable
Error in install.packages(update[instlib == l, "Package"], l, repos = repos, :
unable to install packages

Can anyone please, help me out with what might be wrong?



You need to run RStudio as "Administrator" to be able to install into this folder.

Thanks, everything works fine.

An app that I installed on my machine blocked the installation.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.