R keeps trying to install packages to /usr/local/lib/R/site-library even if personal library chosen during package installation.
When installing a package:
> install.packages('devtools')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages("devtools") :
'lib = "/usr/local/lib/R/site-library"' is not writable
Would you like to use a personal library instead? (y/n) y
And then, after downloading packages:
Error: ERROR: no permission to install to directory ‘/usr/local/lib/R/site-library’
Also, it keeps fetching packages from https://mran.microsoft.com even if a different repo chosen in Rstudio GUI.
R keeps trying to install packages to
/usr/local/lib/R/site-libraryeven if personal library chosen during package installation.When installing a package:
And then, after downloading packages:
Also, it keeps fetching packages from
https://mran.microsoft.comeven if a different repo chosen in Rstudio GUI.