Skip to content
Prev 3665 / 20628 Next

Another case of -1.0 correlation of random effects

Ben Bolker wrote:
It's not my day.  I go to the directory where the lme4a tree is located 
and type "R CMD build lme4a" and get an error when the process gets to:

g++ -I/usr/local/lib/R/include  -I/usr/local/include 
-I"/usr/local/lib/R/library/Matrix/include" 
-I"/usr/local/lib/R/library/Rcpp/include"   -fpic  -g -O2 -c 
glmFamily.cpp -o glmFamily.o

In file included from glmFamily.cpp:1:
glmFamily.h:5:18: error: Rcpp.h: No such file or directory
In file included from glmFamily.cpp:1:
[errors continue]

I looked at lme4a/src/glmFamily.h and find

#include <Rcpp.h>
#include <Rmath.h>

Now, I have both of these files in my installation, but not in the 
locations referenced with the -I switches.  My Rcpp.h is found in 
/usr/local/lib/R/library/Rcpp/lib (not include) and my Rmath.h is
found in /usr/local/lib/R/include which doesn't even show up in an -I 
switch.

So, I don't know how these -I switches get generated, but there is a 
problem somewhere, either with my installation or something else.

My installation was a standard build (configure; make; make install).

Yes, I fully understand what "unstable" means.  Hopefully these errors 
are helpful.

Kevin

Thread (28 messages)

Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Ben Bolker Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Ken Knoblauch Another case of -1.0 correlation of random effects Apr 9 Ben Bolker Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Viechtbauer Wolfgang (STAT) Another case of -1.0 correlation of random effects Apr 9 Jarrod Hadfield Another case of -1.0 correlation of random effects Apr 9 Ken Knoblauch Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 12 Douglas Bates Another case of -1.0 correlation of random effects Apr 12 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 12 Viechtbauer Wolfgang (STAT) Another case of -1.0 correlation of random effects Apr 12 Douglas Bates Another case of -1.0 correlation of random effects Apr 12 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Ben Bolker Another case of -1.0 correlation of random effects Apr 13 Douglas Bates Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Ben Bolker Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Douglas Bates Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 15 Andrew Dolman Another case of -1.0 correlation of random effects Apr 16 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 16 Andrew Dolman Another case of -1.0 correlation of random effects Apr 16 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 16