Hi, I am new to R and trying to download swirl.
I have read past issues with swirl but nothing seems to help my specific issue. The problem is deleting the LOCK. I can find it and delete it, but then R still thinks its not downloaded. If I run it again, the LOCK comes back. IDK if that is my only problem haha, but that is the one that I see currently. Any help would be greatly appreciated!
This is what I am getting
> install.packages("swirl", dependencies=TRUE)
Installing package into ‘\\asb-nasrack01/users/egrahn/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
'lib = "\\asb-nasrack01/users/egrahn/Documents/R/win-library/4.0"' is not writable
also installing the dependency ‘RCurl’
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/RCurl_1.98-1.2.zip'
Content type 'application/zip' length 3044792 bytes (2.9 MB)
downloaded 2.9 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/swirl_2.4.5.zip'
Content type 'application/zip' length 349268 bytes (341 KB)
downloaded 341 KB
package ‘RCurl’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘RCurl’
Warning in install.packages :
restored ‘RCurl’
package ‘swirl’ successfully unpacked and MD5 sums checked
Error in install.packages : ERROR: failed to lock directory ‘\\asb-nasrack01\users\egrahn\Documents\R\win-library\4.0’ for modifying
Try removing ‘\\asb-nasrack01\users\egrahn\Documents\R\win-library\4.0/00LOCK’