Error in install.packages : cannot open file Permission denied

Please who can help with this error while attempting to install packages? It comes up with the error message posted below. Thanks.

Error in install.packages : cannot open file 'C:/Users/myPc/Documents/R/win-library/4.0/file38283d8b6a15/xts/api_example/DESCRIPTION': Permission denied

Did you retry and got the same error ?
It means the file is locked in some way, or that you don't have access to this path, which seems weird.

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