Task #2955

Task #2845: Setup, Ubuntu 20.04, prepare TXM 0.8.1 to be fully compatible with Ubuntu 20.04 debian packages

Prepare R and libraries for Ubuntu 20.04

Added by Matthieu Decorde 6 months ago. Updated 23 days ago.

Status:New Start date:11/27/2020
Priority:High Due date:
Assignee:- % Done:

0%

Category:Stats / R Spent time: -
Target version:TXM 0.8.2

Description

Known problems :
  • some libs (used by R or its packages) are no more available in the Debian packages :
    • libpng12
    • libgfortran
      • gcc-6-base

Diagnose

Run TXM's R via terminal:

cd /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/bin
./R

Solution 1

Ubuntu 20.04: ship the missing libraries in TXM R lib directory : /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/lib

Ubuntu 16.04:
  • this new libs will broke the dependancies -> remove the libpng12 and libgfortran files of the lib directory
  • if installed with the deb installer remove /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/lib/libgfortran.so.3
  • if installed with an update remove ~/.TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/lib/libgfortran.so.3

Solution 2

Upgrade R to the stable version of Ubuntu 20.04 and upgrade the libraries used by TXM (FactoMineR, wordcloud, Rserve, textometry)

History

#1 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#5 Updated by Alexey Lavrentev about 1 month ago

I tried the solution 1 (ubuntu 16.04) :

No libfortran found in /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.202006290905/res/linux64/lib

libpng12.so.0 removed.

The specificity and CA still don't work, with the same errors :

impossible de trouver la fonction "phyper" for Specificities
** Erreur R : "Error : le chargement du package ou de l'espace de noms a échoué pour ‘FactoMineR’" for CA

#6 Updated by Matthieu Decorde 23 days ago

  • Description updated (diff)

Also available in: Atom PDF