ERROR:lock directory

package ‘gtools’ successfully unpacked and MD5 sums checked
Error in install.packages : ERROR: failed to lock directory ‘C:\Users\user\Documents\R\win-library\3.6’ for modifying
Try removing ‘C:\Users\user\Documents\R\win-library\3.6/00LOCK

Just follow the instructions on the error message, go to your file explorer and delete that file.

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.