I receive the following error when trying to run a 3dLME script:
Error in (pos[ii] + 1):(pos[ii + 1] - 2) : NA/NaN argument
Calls: process.LME.opts → gl_Constr → glfConstr → which
I used rPkgsInstall -pkgs ALL to install the R packages. I am using a linux system, AFNI Version AFNI_21.0.21 ‘Titus’, and R version 4.0.5 (2021-03-31). Do you know what might be causing this error?