Error installing packages in Rstudio

Asked

Viewed 2,529 times

1

Every time I try to install some package in Rstudio this error message appears

Error in install.Packages : cannot open file 'xxxxxxxxxxxxxxxxxx/xxxxxx/R/win-library/3.5/file2dd82b9d52da/colorspace/doc/Hcl-Colors.pdf': Permission denied

I use Windows 10, I have uninstalled and reinstalled some 3 times, I have tried to use as an administrator, nothing has worked so far.

1 answer

0

This error can be pro various factors like, anti virus or your firewall blocking the installation of packages. It may also be that R (or Rstudio with R) has been installed as an administrator on Windows and you are not allowed to install or update a package. You can try to open R/Rstudio as administrator and change the security settings of the R library folder (in which packages are installed) and grant full access to the computer user account. But before you can try to install the package manually, on this link - article - has an article on how to do this.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.