Issues running RBA

AFNI version info (afni -ver):
Precompiled binary linux_openmp_64: Mar 1 2023 (Version AFNI_23.0.07 'Commodus')

Greetings,

RBA -prefix test_effect_size_0.5 -Subj subject_label -Y effect_size -ROI 'ROI' -ridgePlot 10 8                 -chains 4 -iterations 1000                 -dataTable test.txt -distROI 'student' -distSubj 'student' -distY 'student'

I get the following error:

Error in str2lang(x) : <text>:1:52: unexpected symbol
1: Y ~ 1 + (1|gr(Subj, dist='student')) + (1|gr( ROI  dist
                                                       ^
Calls: as.formula -> formula -> formula.character -> str2lang
Execution halted

If I go with the default ROI distribution it works fine!

  • Another issue I found with my version of AFNI is that when I specifyI have a datatable with column name other than capital ROI it gives the following error:
Error in `[[<-.data.frame`(`*tmp*`, lop$ROI, value = integer(0)) : 
  replacement has 0 rows, data has 380
˙˙˙

so for example even I specify -ROI 'roi' I still get this error. Once I name a column with capital ROI and -ROI 'ROI' it works.

Thank you for bringing the issues to our attention! The first problem has already been addressed a few months ago. Regarding the second issue, the solution will be included in the upcoming official AFNI release. In the meantime, you can replace your current RBA.R file in the AFNI binary directory with the updated version available here.

Gang Chen

1 Like