3dMVM : FAILURE

Hi experts,

I have some issue when trying to run 3dMVM.
It says:
[quote="updating R_LD_LIBRARY_PATH …

oo Warning:
Failed to load R_io.so with this error message:

Error in dyn.load(ll) :
unable to load shared object ‘/Users/xiyuezh/abin/R_io.so’:
dlopen(/Users/xiyuezh/abin/R_io.so, 6): Library not loaded: /sw/Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libR.dylib
Referenced from: /Users/xiyuezh/abin/R_io.so
Reason: image not found
Calls: source … withVisible → eval → eval → set_R_io → dyn.load
Execution halted
Unmatched '."]
[/quote]

File /Users/xiyuezh/abin/R_io.so exists in this folder. Then I checked


afni_system_check.py -check_all

[quote="testing ability to start various programs…
afni : success
suma : success
3dSkullStrip : success
uber_subject.py : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success
3dMVM : FAILURE
Error in dyn.load(ll) :
unable to load shared object ‘/Users/xiyuezh/abin/R_io.so’:
dlopen(/Users/xiyuezh/abin/R_io.so, 6): Library not loaded: /sw/Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libR.dylib
Referenced from: /Users/xiyuezh/abin/R_io.so
Reason: image not found
Calls: source … withVisible → eval → eval → set_R_io → dyn.load
Execution halted

checking for R packages…
rPkgsInstall -pkgs ALL -check : success

R RHOME : /Library/Frameworks/R.framework/Resources

checking for $HOME files…
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found"]
[/quote]

For the summary part, it says:
[quote="========================= summary, please fix: =========================

  • just be aware: login shell ‘bash’, but our code examples use ‘tcsh’
  • AFNI programs show FAILURE
  • check for partial install of PyQt4
  • consider installing gcc under homebrew
  • consider installing glib under homebrew
  • please set DYLD_LIBRARY_PATH to /opt/X11/lib/flat_namespace in tcsh"]
    [/quote]

The computer is Mac Mojave 10.14.6.
AFNI version is Precompiled binary macos_10.12_local: Jan 31 2022 (Version AFNI_22.0.04 ‘Hadrian’)
The R version is 4.1.1 (2021-08-10) – “Kick Things”. Platform: x86_64-apple-darwin17.0 (64-bit).

Could you please help to have a look? Thank you so much!!

Best,
Xiyue

Xiyue,

Some of the R-related AFNI programs (3dMVM, 3dLMEr, 3dLMEr, RBA, …) currently work only on Mac OS version 10.12.x. If downgrading your Mac OS is not preferable, perform this kind of analysis on a Linux computer.

Ohhh… Okay. Thank you!

Xiyue