Hi
I am trying to install rmarkdown for the first time but it keeps coming up with the below error message. Any ideas on how to fix this? Thanks!!
** Installing R Package Dependencies for R Markdown: 'rmarkdown', 'rprojroot'
[1/2] Installing rmarkdown...
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rmarkdown_2.5.zip'
Content type 'application/zip' length 3644562 bytes (3.5 MB)
downloaded 3.5 MB
package 'rmarkdown' successfully unpacked and MD5 sums checked
Error in unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, :
ERROR: failed to lock directory '\HTDC01\FolderRedirections\Liane\My Documents\R\R-4.0.3\library' for modifying
Try removing '\HTDC01\FolderRedirections\Liane\My Documents\R\R-4.0.3\library/00LOCK'
Calls: sourceWithProgress ... eval -> -> .install.winbinary -> unpackPkgZip
Execution halted