R/R_error [Eng.]

00LOCK _ Directory Lock (Package) error install

Cha-Nyong 2022. 11. 11. 10:45
There are milions case of error when install R packages. 
Most popular package install error with crush of Onedrive is posted in the other posting.
The error of Package install with directory Lock problem will be posted in this time.
 
 
 
 
This error can be noticed by "00LOCK" message during package install.
See below. 
 
 
The reason of this error is that you probably force terminated the R program before.
So, specific directory or installing directory is Locked.
 
 

 

 
 
Soultion Below.
 

1. Unlock

options("install.lock"=FALSE)
 
 

2. Re-install package what you want.

install.packages("pheatmap")
 
 
 
Quite easy?