Skip to content
Prev 1156 / 20628 Next

lme4 0.999375-20 installation error

On previous post I had tried to install with R CMD INSTALL and failed.
This morning I installed using install.packages and everything worked
fine for some reason. Thanks for your time.
R version 2.7.0 (2008-04-22) 
x86_64-unknown-linux-gnu 

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
Warning in install.packages("lme4_0.999375-20.tar.gz", repos = NULL) :
  argument 'lib' is missing: using '/home/e38302/r_library'
* Installing *source* package 'lme4' ...
** libs
gcc -std=gnu99 -I/apps/R/R270/lib64/R/include  -I/usr/local/include
-I"/home/lyman/r_library/Matrix/include"   -fpic  -g -O2 -c init.c -o
init.o
gcc -std=gnu99 -I/apps/R/R270/lib64/R/include  -I/usr/local/include
-I"/home/lyman/r_library/Matrix/include"   -fpic  -g -O2 -c lmer.c -o
lmer.o
gcc -std=gnu99 -I/apps/R/R270/lib64/R/include  -I/usr/local/include
-I"/home/lyman/r_library/Matrix/include"   -fpic  -g -O2 -c
local_stubs.c -o local_stubs.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o lme4.so init.o lmer.o
local_stubs.o -L/apps/R/R270/lib64/R/lib -lRlapack
-L/apps/R/R270/lib64/R/lib -lRblas -lg2c -lm  

Mark Lyman, Statistician
ATK Launch Systems
mark.lyman at atk.com
(435) 863-2863

-----Original Message-----
From: dmbates at gmail.com [mailto:dmbates at gmail.com] On Behalf Of Douglas
Bates
Sent: Wednesday, July 09, 2008 3:55 PM
To: Lyman, Mark
Cc: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] lme4 0.999375-20 installation error

I'm not sure exactly what is happening on the Suse system but there
should be an additional -I clause in the call to gcc.  When I compile
on a Red Hat system the transcript includes

gcc -I/unsup/R-2.7.0/lib/R/include  -I/usr/local/include
-I"/u/b/a/bates/R/i686-pc-linux-gnu-library/2.7/Matrix/include"
-fpic  -Wall -pedantic -g -O3 -std=gnu99 -c init.c -o init.o

It is the last -I clause that provides the location to find Matrix.h,
which is what you are missing here.
On Wed, Jul 9, 2008 at 4:24 PM, Mark Lyman <mark.lyman at atk.com> wrote:
have
Do you
-fpic  -
`lme4_ASym'
`lme4_CmSym'
`lme4_CxSym'
`lme4_DimSym'
`lme4_GpSym'
`lme4_LSym'
`lme4_RXSym'
`lme4_RZXSym'
`lme4_STSym'
`lme4_VSym'
`lme4_XSym'
`lme4_ZtSym'
`lme4_devianceSym'
`lme4_dimsSym'
`lme4_envSym'
`lme4_etaSym'
`lme4_fixefSym'
`lme4_flistSym'
`lme4_gradientSym'
`lme4_iSym'
`lme4_muEtaSym'
`lme4_muSym'
`lme4_ncSym'
`lme4_nlmodelSym'
`lme4_offsetSym'
`lme4_pSym'
`lme4_pWtSym'
`lme4_permSym'
`lme4_ranefSym'
`lme4_residSym'
`lme4_sigmaSym'
`lme4_sqrtXWtSym'
`lme4_sqrtrWtSym'
`lme4_uSym'
`lme4_varSym'
`lme4_xSym'
`lme4_ySym'
`M_R_cholmod_start'
structure or
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
cast
`M_cholmod_finish'