Just a few days ago I started working with R and in Rstudio it gives me the following message:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/ANDREAS/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/dplyr_1.1.0.zip'
Content type 'application/zip' length 1548314 bytes (1.5 MB)
downloaded 1.5 MB
package ‘dplyr’ successfully unpacked and MD5 sums checked
Error in install.packages : ERROR: failed to lock directory ‘C:\Users\ANDREAS\AppData\Local\R\win-library\4.2’ for modifying
Try removing ‘C:\Users\ANDREAS\AppData\Local\R\win-library\4.2/00LOCK’
I saw that someone else had the same problem as me and managed to solve it but it is impossible for me to solve the problem.
I don't know which folder to look in to delete that particular file.
Thank you