Installing Package - Cannot Open File - Permission Denied

R Error in install.packages : permission denied

I solved it with this answer. It's R is installed as if it needs constant admin privileges. That answer shows the correct way of doing it without running into the problem again.

Install packages does not work: Permission denied

Can you do .libPaths() ?

Maybe the .libPaths() doesnt map the correct location (if you are not the administrator)

Try .libPaths(.libPaths()[2]) then try install.packages("psych") again.

Can't install.packages, error: Permission denied

Have you tried the changing the sys.sleep from 0.5 to 3 solution? Sometimes the virus scanner needs more time before the downloaded package zip files are checked and given free.
Warning in install.packages: unable to move temporary installation



Related Topics



Leave a reply



Submit