Hi, I am downloading R and RStudio for the first time for my Stats class and I am getting errors whenever I try to download the packages for R Markdown. I will try to attach a picture, but the error message is:
Error in unzip(zipname, exdir = dest) :
cannot open file 'C:/Users/Thadd-PC/Documents/R/win-library/3.6/file41b431f43778/xfun/DESCRIPTION': Permission denied
Calls: ... .install.winbinary -> unpackPkgZip -> .zip.unpack -> unzip
Execution halted
For fixes I have tried reinstalling R and RStudio, running RStudio as an admin, and trying to change file permissions. (But every time I try to change a folder permission, somehow it reverts back to read only). Assume I know very little information about file permissions and how to fix computers.