R package installation error

Dear AFNI experts,

When I run afni_system_check.py I got the msg:

  • missing R packages (see rPkgsInstall)

Then I typed in: sudo rPkgsInstall -pkgs ALL, but I got the following error msg.

*** caught segfault ***
address 0x0, cause ‘memory not mapped’

1: .Call(“R_SUMA_HistString”, ExecName, args, ohist)
2: AFNI.command.history(ExecName, args, NULL)
3: read.rPkgsInstall.opts.batch(args, verb = 0)
An irrecoverable exception occurred. R is aborting now …
Segmentation fault
[JinJingwens-Mac-mini:~] FrancesJin%

Can someone help fix this problem?
Thank you very much!


Please post the full output of:

afni_system_check.py -check_all