Bug #2287

RCP: 0.7.8, cannot start rserve on Mac OS X 10.11

Added by Matthieu Decorde almost 6 years ago. Updated almost 6 years ago.

Status:New Start date:12/07/2017
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Stats / R Spent time: -
Target version: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:
  1. Install the DEV level update
  2. Run TXM
  3. Run a specificities/AFC command with a partition

History

#1 Updated by Matthieu Decorde almost 6 years ago

  • Description updated (diff)
  • % Done changed from 0 to 80

#2 Updated by Matthieu Decorde almost 6 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.7.9

Also available in: Atom PDF