[R-sig-ME] error: 'Index' is not a member...

Boylan, Ross Ro@@@Boy|@n @end|ng |rom uc@|@edu
Fri Apr 12 01:55:45 CEST 2024


Ben Bolker wrote
  > Just to rule out some things, do you get the same problems if you install via R CMD INSTALL <lme4 tarball> from a terminal/command shell?

R CMD INSTALL seems to work fine; transcript below.  However, I have installed the lme4 binary in between my first try 
and this attempt, and my original method also seems fine.
Back in the environment of my original problem and repeating, i.e., executing load_all(), does not give an error or appear to do much.
The only output is "Loading required package: Matrix".

Another oddity with the second try is that even though I specified an alternate library to install to, it seems to have picked up
precisely where it failed before.  There's no mention of the first files built.  For my "tarball" I just used the existing source directory, 
and it does have the binaries from previous attempts.  So I guess make just continued.

  > (This might be more appropriate for the lme4 issues list.)

I was going by the README.md, under Where to get help.

 > Do you want to look at the R code in the devel version specifically? 
 > It's not clear to me that you need to install from source in order to debug()/trace through R code -- maybe I'm missing something?
No, I'm happy to look at release code.   It's more likely I'm missing something.  I wanted to be able to set breakpoints and follow through
 with the code, and figured that wouldn't work too well with just a binary package install.  I think even from that I could get at least some
decompiled code, but I was hoping  for more.

Transcript
=========

The total compilation from R CMD in the terminal is
PS C:\Users\rdboylan\Documents> & $R CMD INSTALL -l tossme lme4
* installing *source* package 'lme4' ...
** using staged installation
** libs
using C++ compiler: 'G__~1.EXE (GCC) 12.3.0'
g++ -std=gnu++17  -I"C:/PROGRA~1/R/R-43~1.3/include" -DNDEBUG -I. -DNDEBUG -DEIGEN_DONT_VECTORIZE -I'C:/Program Files/R/R-4.3.3/library/Rcpp/include' -I'C:/Program Files/R/R-4.3.3/library/RcppEigen/include' -I'C:/Program Files/R/R-4.3.3/library/Matrix/include'   -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c predModule.cpp -o predModule.o
g++ -std=gnu++17  -I"C:/PROGRA~1/R/R-43~1.3/include" -DNDEBUG -I. -DNDEBUG -DEIGEN_DONT_VECTORIZE -I'C:/Program Files/R/R-4.3.3/library/Rcpp/include' -I'C:/Program Files/R/R-4.3.3/library/RcppEigen/include' -I'C:/Program Files/R/R-4.3.3/library/Matrix/include'   -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c respModule.cpp -o respModule.o
g++ -std=gnu++17 -shared -s -static-libgcc -o lme4.dll tmp.def external.o glmFamily.o mcmcsamp.o optimizer.o predModule.o respModule.o -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.3/bin/x64 -lR
installing to C:/Users/rdboylan/Documents/tossme/00LOCK-lme4/00new/lme4/libs/x64
 



More information about the R-sig-mixed-models mailing list