Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

système debian/ubuntu/mint

sudo apt install r-base-dev libcurl4-openssl-dev libssl-dev libxml2-dev libnlopt-dev libfontconfig1-dev libcairo2-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libudunits2-dev libharfbuzz-dev libfribidi-dev

...

yum install libcurl-devel openssl-devel libxml2-devel harfbuzz-devel freetype-devel libpng-devel udunits2-devel libicu-devel R-devel fribidi-devel

Il arrive aussi que à l’install, R ne trouve pas une librairie donnée, même si elle est déjà installée (dans DATAFAST par exemple). On peut trouver la librairie en question en tapant e.g. pour la librairie libicui18n.so.58

locate libicui18n.so.58

/DATA_FAST/software/anaconda3/lib/libicui18n.so.58
/DATA_FAST/software/anaconda3/lib/libicui18n.so.58.2
/DATA_FAST/software/anaconda3/pkgs/icu-58.2-he6710b0_3/lib/libicui18n.so.58
/DATA_FAST/software/anaconda3/pkgs/icu-58.2-he6710b0_3/lib/libicui18n.so.58.2

export LD_LIBRARY_PATH=/DATA_FAST/software/anaconda3/lib/

redémarrer R

ressayer d’installer le package.

Ressources utiles :

https://rviews.rstudio.com/2017/04/19/r-for-enterprise-understanding-r-s-startup/

https://github.com/vubiostat/Renv

Pour les installs de R sur postes linux

...