[R-sig-Debian] SOLVED- Re: help installing R on Linux Mint 21.2
Luben Dimov
|uben@d|mov @end|ng |rom gm@||@com
Wed Jan 3 20:58:54 CET 2024
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 using r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>
[[alternative HTML version deleted]]
More information about the R-SIG-Debian
mailing list