I've been using Rstudio for a few years on windows for my studies
Recently, I've decided to try MX Linux as a dual boot, and I've been facing an issue that I don't have on my windows session : when trying to install packages (that i know exist), it does download (or at least all the process in the console), but always ends in "non-zero exit status", and looking at it, it seems as though the dependencies don't download correctly either (also "non-zero exit status").
I've tried to change the cran repos, but it still won't work and I don't have any idea why.
I'd rather like to be able to do all my work on Linux, so any help would be appreciated.
Hi @randyzwitch
Thanks for your quick answer!
Unfortunately, all of those dependencies (libcurl, r based dev, libssl-dev, libxml2-dev and g++) are already installed and up-to-date !
I already tried those a few days back if I recall correctly.
Anyway, it doesn't seem like the problem stems from this.
Any other suggestions are welcomed !
The only other thing I can think of is that CRAN/R install.packages doesn't know that MX Linux is a Debian-based distro. But I don't know where you'd fix that.
Have you tried downloading a known package and seeing if it will install? Not sure what package that might be that doesn't have a ton of dependencies, but if you try and get further than you did before, it might prove out what I'm saying (that it doesn't know it's Debian).
I mean, ggplot2 installed without any issues so i guess it could be that.
But I'm not really that tech-savy, I'm on linux not because of my skills, but because of my convictions, so I don't really know how I should solve this.
alright so it was because the R version in the Debian repos is not up to date to the preriquisite of certains dependencies.
Since Debian is not on a rolling-release model, i had to change it so that it used the cran repositories to update R on to the last available version, then restart the r session in rstudio and then it worked!