Please help with the famous 00LOCK error in r
1
0
Entering edit mode
3.2 years ago

Hello, So, i am trying to update a package and I get the following error:

In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:/Users/USER/Documents/R/win-library/4.0/00LOCK/rlang/libs/x64/rlang.dll to C:/Users/USER/Documents/R/win-library/4.0/rlang/libs/x64/rlang.dll: Permission denied

Now the thing is I know I need to delete 00LOCK folder, but the problem is there is no such folder in the specified path. What do I do?

R • 3.5k views
ADD COMMENT
0
Entering edit mode

Permission denied

This looks rather like a permission problem in the windows filesystem.

ADD REPLY
0
Entering edit mode
3.2 years ago

a quick workaround I found was to delete everything in 4.0 folder and install it again. But any other answers are also most welcome.

ADD COMMENT
0
Entering edit mode

I have encountered the same problem. But deleting everything would have me face difficulty in reinstalling all those packages. Is there any other approach to solve this problem?

ADD REPLY

Login before adding your answer.

Traffic: 2136 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6