Hello, I am supernew to R. I wanted to open an RMarkdown file, but first I was prompted to run an update. THis is the error message:
Installing 'markdown' for R Markdown...
Installing package into 'C:/Users/ab1715/Dropbox/PC/Documents/R/win-library/4.1'
(as 'lib' is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/markdown_1.1.zip'
Content type 'application/zip' length 188691 bytes (184 KB)
downloaded 184 KB
package 'markdown' successfully unpacked and MD5 sums checked
Error in unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, :
ERROR: failed to lock directory 'C:\Users\ab1715\Dropbox\PC\Documents\R\win-library\4.1' for modifying
Try removing 'C:\Users\ab1715\Dropbox\PC\Documents\R\win-library\4.1/00LOCK'
Calls: sourceWithProgress ... eval -> -> .install.winbinary -> unpackPkgZip
Execution halted
Any help welcome!
Alberto