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
Execution halted
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?
Was there ever a solution to this? I’m having the same issue, and have checked all my R packages and run afni_system_check.py and have found nothing amiss.
I've also encountered this error. AFNI & R have been updated.
afni_vcheck
This program was compiled with the following settings:
Version ID = AFNI_24.0.02
++ now fetching https://afni.nimh.nih.gov/pub/dist/AFNI.version
Latest version listed at AFNI web site:
Version ID = AFNI_24.0.06
R version:
platform aarch64-apple-darwin20
arch aarch64
os darwin20
system aarch64, darwin20
status
major 4
minor 3.1
year 2023
month 06
day 16
svn rev 84548
language R
version.string R version 4.3.1 (2023-06-16)
nickname Beagle Scouts
@andrewlynnphd
In addition to the typo, there are issues with the model specification. If both factors, format and quantity, are within-individual, I recommend employing 3dLMEr and following the guidelines outlined in this instruction. Alternatively, you can use 3dMVM if no missing data occur.
Gang Chen
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.