AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
April 12, 2023 06:41AM
Hi,
I'm new to AFNI and I'm trying to run a 3dlmer.txt command and it kept failing like this:
Failed with error: ‘找不到‘lmerTest’所需要的程辑包‘lme4’’( means can't find the 'lme4' package that the ‘lmerTest’ needs);
Failed with error: Can't find the 'car' package that the ‘lmerTest’ needs.
I've installed rPkgsInstall -pkgs ALL, gfortran-6.1.pkg and R libraries as your website instructed, but seems to have failed to install some packages.

Can you help me out here? Much appreciated the reply!

Here's the system check:
-------------------------------- general ---------------------------------
architecture: 64bit
cpu type: i386
system: Darwin
release: 22.4.0
version: Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64
distribution: 10.16
number of CPUs: 4
apparent login shell: tcsh
shell RC file: .tcshrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni : /Users/yuji/abin/afni
afni version : Precompiled binary macos_10.12_local: Apr 7 2023
: AFNI_23.1.00 'Publius Helvius Pertinax'
AFNI_version.txt : AFNI_23.1.00, macos_10.12_local, Apr 07 2023
which python : /usr/local/bin/python
python version : 2.7.13
which R : /usr/local/bin/R
R version : R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
which tcsh : /bin/tcsh

instances of various programs found in PATH:
afni : 1 (/Users/yuji/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/R)
python : 1 (/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python2 : 1 (/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python3 : 1 (/usr/bin/python3)


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 : success

checking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURE

oo Warning:
These packages are not installed on the computer: afex!
These packages are not installed on the computer: psych!
These packages are not installed on the computer: brms!
These packages are not installed on the computer: metafor!


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

checking for $HOME files...
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found

------------------------------ python libs -------------------------------
** failed to load module PyQt4
-- PyQt4 is no longer needed for an AFNI bootcamp

** failed to load module matplotlib.pyplot
-- matplotlib.pyplot is required

-- python binaries under /usr/local/bin:
/usr/local/bin/python (sym link to /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
/usr/local/bin/python2 (sym link to /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
/usr/local/bin/python2.7 (sym link to /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)

-------------------------------- env vars --------------------------------
PATH = /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/longyuji/abin:/Users/longyuji/abin

PYTHONPATH =
R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) = /opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =

----------------------------- eval dot files -----------------------------

-- good: .tcshrc seems to contain 'source .cshrc'
-- considered operations: path, flatdir, apsearch

-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)

dot file test : want 1 modifications across 2 files:

file path flatdir apsearch follower
--------------- ---- ------- -------- --------
.tcshrc 0 0 0 1
.cshrc 0 0 1 0

------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/longyuji/abin

------------------------------ OS specific -------------------------------
XQuartz version : 2.8.5

which brew : /usr/local/bin/brew
brew version : Homebrew 4.0.12

-- for PyQt4 under brew, consider running:
brew install cartr/qt4/pyqt
-- consider installing gcc under homebrew
-- consider installing glib under homebrew
++ found 1 dylib files under '/opt/X11/lib/flat_namespace'
-- found 'libXt' dylib files:
/opt/X11/lib/flat_namespace/libXt.6.dylib
-- recent OS X, cheating to check DYLD_LIBRARY_PATH in cur shell 'tcsh'...
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace

========================= summary, please fix: =========================
* missing R packages (see rPkgsInstall)
* python library matplotlib is required
(see AFNI install docs for details)
* dot file test : want 1 modifications across 2 files:
* insufficient data for AFNI bootcamp
(see "Prepare for Bootcamp" on install pages)
Subject Author Posted

Can't run 3dlmer command in macOS

yuji April 12, 2023 06:41AM

Re: Can't run 3dlmer command in macOS

rick reynolds April 12, 2023 01:52PM

Re: Can't run 3dlmer command in macOS

yuji April 13, 2023 02:06AM

Re: Can't run 3dlmer command in macOS

gang April 13, 2023 04:42PM

Re: Can't run 3dlmer command in macOS

yuji April 13, 2023 11:35PM

Re: Can't run 3dlmer command in macOS

rick reynolds April 14, 2023 11:34AM

Re: Can't run 3dlmer command in macOS

yuji April 15, 2023 01:11PM