[R-sig-ME] Chapter drafts of my book are now on the R-forge web site for lme4
Rob Goedman
robjgoedman at me.com
Mon Feb 15 01:15:54 CET 2010
Hi,
Working through chapter 1, I got stuck on the profiled deviance section (1.4.2/1.5) which need lme4a (I guess).
Has anyone been able to install lme4a on SnowLeopard?
An older R.2.10.1/Leopard/ppc machine or R.2.10.1 and R-devel (SnowLeopard, both 32 or 64 bit) all produce the error shown below.
Thanks,
Rob
------------------------------------
Robs-Intel:~ rob$ cd Projects/R/R_projects/Bates/lme_package/lme4a/
Robs-Intel:lme4a rob$ R_ARCH=/x86_64 R CMD BUILD .
* checking for file './DESCRIPTION' ... OK
* preparing '.':
* checking DESCRIPTION meta-information ... OK
* cleaning src
make: Nothing to be done for `clean'.
* installing the package to re-build vignettes
* installing *source* package ‘lme4a’ ...
** libs
** arch - x86_64
g++-4.2 -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -I/usr/local/include -I"/Library/Frameworks/R.framework/Resources/library/Matrix/include" -fPIC -mtune=core2 -g -O2 -c GLfamily.cpp -o GLfamily.o
In file included from /usr/include/stdlib.h:67,
from /usr/include/c++/4.2.1/cstdlib:72,
from /usr/include/c++/4.2.1/bits/stl_algobase.h:68,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/string:47,
from GLfamily.hpp:5,
from GLfamily.cpp:1:
/usr/include/alloca.h:36: error: declaration of ‘void* __builtin_alloca’
/usr/include/alloca.h:36: error: conflicts with built-in declaration ‘void* __builtin_alloca(long unsigned int)’
/usr/include/alloca.h:36: error: declaration of ‘void* __builtin_alloca’
<built-in>:0: error: conflicts with previous declaration ‘void* __builtin_alloca(long unsigned int)’
/usr/include/alloca.h:36: error: expected primary-expression before ‘)’ token
make: *** [GLfamily.o] Error 1
ERROR: compilation failed for package ‘lme4a’
* removing ‘/private/var/folders/RC/RC96PNSWFMORQM4VyHEgik+++TI/-Tmp-/Rinst7538767924/lme4a’
ERROR
Installation failed.
Removing '/var/folders/RC/RC96PNSWFMORQM4VyHEgik+++TI/-Tmp-//Rinst7538767924'
Robs-Intel:lme4a rob$
On Feb 12, 2010, at 3:28 PM, Douglas Bates wrote:
> I have finally gotten the chapter drafts of the book, "lme4:
> Mixed-effects Modeling with R", that I am writing to the point where I
> think they can be helpful to others. I believe I have properly
> committed them to the R-forge site but they will not appear for an
> hour or so. They should be available under
> http://lme4.R-forge.R-project.org/book/
>
> Chapters 1, 2, 4 and 5 are currently available as are the .R files for
> those chapters. Chapters 4 and 5 will have material added to them. I
> don't expect to change chapters 1 and 2 until I get reviewers reports.
>
> When pointing out errors, inconsistencies, bad writing, obtuse
> explanations, etc., please be gentle.
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
More information about the R-sig-mixed-models
mailing list