You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have also tried using sudo, which installs in /usr/lib/R/library and gives exactly the same error (can not move it to the appropriate destination due to file permissions) and I've also tried specifying the library as usr/lib/R/library which gives the same error again. As I mentioned, I've tried this on both 20.04 and the brand new 22.04. I am really at my wit's end! I have been able to install 117 other R packages as follows:
@mickmcq
install.packages("xml2", dependencies=TRUE, INSTALL_opts = c('--no-lock'))
This code works for me to install xml2 on WSL (Ubuntu 22.04), thanks a lot !
I have started with a clean install of both Ubuntu 20.04 and Ubuntu 22.04 on WSL2 and have run the following:
When I try to install xml2 in R, here is what I get:
I have also tried using sudo, which installs in
/usr/lib/R/library
and gives exactly the same error (can not move it to the appropriate destination due to file permissions) and I've also tried specifying the library asusr/lib/R/library
which gives the same error again. As I mentioned, I've tried this on both 20.04 and the brand new 22.04. I am really at my wit's end! I have been able to install 117 other R packages as follows:but a lot of things depend on xml2. For example, I can't install devtools without it.
The text was updated successfully, but these errors were encountered: