Trying to update.packages() in emacs ess and some packages will not update. I think this is a library/permission issue. I uninstalled R from my machine and deleted my libraries. I then installed R 4.1.2 and went to install packages and update.packages. I got this error code:
'lib = "C:/Program Files/R/R-4.1.2/library"' is not writable...
Would you like to use a personal library instead? (yes/No/cancel)
I said yes and created a personal library
C:\Users\user\R\win-library\4.3
But I still get the same issue
update.packages()
Warning: package 'class' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'foreign' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'MASS' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'Matrix' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'nlme' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'nnet' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'rpart' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Warning: package 'spatial' in library 'C:/Program Files/R/R-4.1.2/library' will not be updated
Why is it still trying to write to the wrong library?