I can't install packeges in R version 4.1.1. The system write

I try to install packages in RStudio (R version 4.1.1.) as usual:
Tools->Install packages

The system asks "Would you like to create a personal library 'C:/User/????/Documents/R'/win-library/4.1 to install package into?

Then it writes a mistake. It write that unable to install due to default library 'C:/Program Files/R/R-4.1.1/library' is not writeable.

There wasn't such problems in version 3. What happens and how to solve this problem?

You need to run RStudio as "administrator" to be able to install into that folder.

1 Like

This topic was automatically closed 21 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.