Luben Dimov
2024-Jan-03 19:58 UTC
[R-sig-Debian] SOLVED- Re: help installing R on Linux Mint 21.2
Facu, I have spent over 20 hours in the last week or so trying to install that single package, tidyverse, ?and have tried many things suggested on many sites without success.? I did have the "deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" in my sources list all along I finally succeeded installing tydiverse (in R on Linux Mint) with the? install.packages("tidyverse", dependencies = TRUE) after first installing these (through the OS terminal): sudo apt-get install libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev It is always more rewarding the more frustrating it is. This one was very frustrating. The hard part was knowing which of the copious amounts of errors in the output to focus on, with many of the suggested solutions in those errors being written in a way that a layperson would have to spend a very long time trying to decipher and figure out how to actually do. Thank you all for all your help. Luben On Wed, 2024-01-03 at 11:07 +0100, Facundo Mu?oz wrote:> Luben, > Yes, I've seen the other thread, but didn't dig into the scripts to see what > might be failing. > In any case, I can assure you that you can install tidyverse on Mint without > any trouble. I suggest you run the installation scripts manually, line by > line, trying to understand what you are doing (i.e. googling whatever thing > you don't know). This allows 2 things: 1/ enables you to adapt whatever needs > to be adapted to your situation (e.g. the distro name, paths, etc.); 2/ just > learn how things work. > For instance, you can add the CRAN apt repository in multiple ways. If the > script fails and you don't figure out why. Just do it another way. You can > also use the graphical interface ("Software sources") in Mint and add the PPA > manually. > Be patient. It is confusing at first, but then everything gets progressively > into place. > Best, > ?acu.- > > On 03/01/2024 04:47, Luben Dimov wrote: > > > Facu, I have a separate thread for this, but I think this is the best place to > > ask you about it -?have you been able to install tidyverse on your Linux Mint? > > This is my next hoop to jump through... > > > > On Tue, 2024-01-02 at 10:27 +0100, Facundo Mu?oz wrote: > > > > > Hi Luben, > > > > > > For what is worth, I've been a RStudio-on-Mint user for many years now > > > and never had major problems. You just need to proceed as if you were > > > using the upstream Ubuntu version corresponding to your Mint version. E.g. : > > > > > > cat /etc/upstream-release/lsb-release > > > > > _______________________________________________ > > R-SIG-Debian mailing list > > R-SIG-Debian at r-project.org > > https://stat.ethz.ch/mailman/listinfo/r-sig-debian >[[alternative HTML version deleted]]
Dirk Eddelbuettel
2024-Jan-03 20:46 UTC
[R-sig-Debian] SOLVED- Re: help installing R on Linux Mint 21.2
Luben, We all have different types of learning and how we approach this, let alone how we decompose things. With that, sorry you found this frustrating. Many of us put volunteer time into this trying to make things 'possible' and preferably 'easy' but we don't always get there. That said, I have shown multiple times over the last few years that the simple _one statement call_ of `install.packages("tidyverse")` works in r2u as demonstrated in a Docker container for r2u. I just 'taped' a fresh demo installing 103 binary packages in twenty seconds from this one command. [1] Myself, and many others, take advantage of that day in, day out on Ubuntu systems for direct work, for work in CI, for work on cloud instances, laptops or servers. I am sorry that the documentaion did not work for you. Maybe you can take another look and provide an issue ticket at the r2u, preferably short, actionable and focused (ie sending me a 200 line dump of "I did that and it did not work" does not help me much -- I hope you understand). Trying this on Mint puts a little extra burden on you to find and overcome differences. Again, sorry this did not pan out but glad to know you have it installed from source. Cheers, Dirk [1] https://eddelbuettel.github.io/images/2024-01-03/tidyverse_in_20s_2024-01-03_14-38.gif -- dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org