I've installed R (version 3.6.0) on my ubuntu 18.04 which I run on the windows subsystem WSL.
Now I'm having a problem to install some specific packages. For example
xml2. When I run the command
install.packages("xml2"), i get the following error:
mv: cannot move '/usr/local/lib/R/site-library/00LOCK-xml2/00new/xml2' to '/usr/local/lib/R/site-library/xml2': Permission denied ERROR: moving to final location failed
I guess there might be some way to give myself full permission for managing my own stuff, does anyone know how to get around this issue?