Bug #2287
RCP: 0.7.8, cannot start rserve on Mac OS X 10.11
Statut: | Closed | Début: | 07/12/2017 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Stats / R | Temps passé: | - | |
Version cible: | TXM 0.7.9 |
Description
see P. Gervais mails :
04/12/2017 - [textometrie] question lancement de R sous Mac OS
05/12/2017 - [textometrie] peut-être que...
Diagnostic¶
when trying to run Rserve from /Applications/TXM/R/bin/R :
> library(Rserve) > Rserve(args="--no-save") Starting Rserve: /Applications/TXM/R/bin/R CMD /Applications/TXM/R/library/Rserve/libs//Rserve --no-save dyld: Library not loaded: /Library/Frameworks/R.framework/Versions/3.3/Resources/lib/libR.dylib Referenced from: /Applications/TXM/R/library/Rserve/libs//Rserve Reason: image not found
Solution¶
The "Rserve()" R command calls the Rserve process fo the $TXMINSTALL/R/library/Rserve/libs directory but the exported env variables are not used.
Replace the "Rserve()" R command with the "run.Rserve()" R command. The run.Rserve() command uses the same process and the same dynamic libraries paths and Rserve can start.
Validation test¶
For each OS:- Install the DEV level update
- Run TXM
- Run a specificities/AFC command with a partition
Historique
#1 Mis à jour par Matthieu Decorde il y a presque 8 ans
- Description mis à jour (diff)
- % réalisé changé de 0 à 80
#2 Mis à jour par Matthieu Decorde il y a presque 8 ans
- Version cible changé de TXM 0.7.8 à TXM 0.7.9
#3 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed
- % réalisé changé de 80 à 100