I am facing a problem while trying to install packages in Rstudio.
For example, I face this error when I try to install devtools:
> install.packages("devtools")
'lib = "C:/Program Files/R/R-4.0.3/library"' is not writable
Error in install.packages : unable to install packages
Any suggestions about what should I do?
question from:https://stackoverflow.com/questions/65943714/unable-to-install-package-in-r-studio-because-file-is-not-writeable