[R-br] Erro ao carregar lme4

Walmes Zeviani walmeszeviani em gmail.com
Sexta Setembro 9 12:02:44 BRT 2011


Saudações pessoal,

Estou diante de um erro ao carregar a lme4. Eu fiz a requisição e apreceu
essa mensagem de erro

> require(lme4)
Carregando pacotes exigidos: lme4
Carregando pacotes exigidos: Matrix
Carregando pacotes exigidos: lattice

Anexando pacote: 'Matrix'

The following object(s) are masked from 'package:base':

    det

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  pacote 'cholmod_l_start' não oferece a função 'Matrix'

Ingenuamente pensei eu instalar novamente e procedimento de instalação
correu sem problemas

> install.packages("lme4" , "/usr/lib/R/site-library", dep=TRUE)
--- Please select a CRAN mirror for use in this session ---
Carregando a interface Tcl/Tk ... pronto
tentando a URL 'http://cran.fhcrc.org/src/contrib/lme4_0.999375-41.tar.gz'
Content type 'application/x-gzip' length 1040482 bytes (1016 Kb)
URL aberta
==================================================
downloaded 1016 Kb

* installing *source* package ‘lme4’ ...
** libs
gcc -I/usr/share/R/include   -I"/usr/lib/R/library/Matrix/include"
-I"/usr/lib/R/library/stats/include"   -fpic  -std=gnu99 -O3 -pipe  -g -c
init.c -o init.o
gcc -I/usr/share/R/include   -I"/usr/lib/R/library/Matrix/include"
-I"/usr/lib/R/library/stats/include"   -fpic  -std=gnu99 -O3 -pipe  -g -c
lmer.c -o lmer.o
gcc -I/usr/share/R/include   -I"/usr/lib/R/library/Matrix/include"
-I"/usr/lib/R/library/stats/include"   -fpic  -std=gnu99 -O3 -pipe  -g -c
local_stubs.c -o local_stubs.o
gcc -shared -o lme4.so init.o lmer.o local_stubs.o -llapack -lblas
-lgfortran -lm -L/usr/lib/R/lib -lR
installing to /usr/lib/R/site-library/lme4/libs
** R
** data
**  moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Loading required package: lattice

Attaching package: 'Matrix'

The following object(s) are masked from 'package:base':

    det

Creating a generic for ‘VarCorr’ in package ‘lme4’
    (the supplied definition differs from and overrides the implicit generic
    in package ‘nlme’: Formal arguments differ: (x, ...), (x, sigma, rdig))
Creating a new generic function for "coef" in "lme4"
Creating a new generic function for "confint" in "lme4"
Creating a new generic function for "plot" in "lme4"
Creating a new generic function for "formula" in "lme4"
Creating a new generic function for "fixef" in "lme4"
Creating a new generic function for "ranef" in "lme4"
Creating a new generic function for "anova" in "lme4"
Creating a new generic function for "deviance" in "lme4"
Creating a new generic function for "fitted" in "lme4"
Creating a new generic function for "predict" in "lme4"
Creating a new generic function for "residuals" in "lme4"
Creating a new generic function for "resid" in "lme4"
Creating a new generic function for "simulate" in "lme4"
Creating a new generic function for "model.frame" in "lme4"
Creating a new generic function for "model.matrix" in "lme4"
Creating a new generic function for "terms" in "lme4"
Creating a new generic function for "vcov" in "lme4"
Creating a new generic function for "with" in "lme4"
Creating a new generic function for "as.data.frame" in "lme4"
Creating a new generic function for "xyplot" in "lme4"
Creating a new generic function for "densityplot" in "lme4"
Creating a new generic function for "qqmath" in "lme4"
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded

* DONE (lme4)

The downloaded packages are in
    ‘/tmp/RtmpYPs5qU/downloaded_packages’
>

Quando fiz a nova requisição outra mensagem de erro apareceu

> require(lme4)
Carregando pacotes exigidos: lme4
Error in get(Info[i, 1], envir = env) :
  não foi possível alocar um bloco de memória de tamanho 2.3 Gb

Os dados da minha sessão R são

> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i486-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=pt_BR.utf8       LC_NUMERIC=C
 [3] LC_TIME=pt_BR.utf8        LC_COLLATE=pt_BR.utf8
 [5] LC_MONETARY=C             LC_MESSAGES=pt_BR.utf8
 [7] LC_PAPER=pt_BR.utf8       LC_NAME=C
 [9] LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_BR.utf8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] Matrix_0.9996875-3 lattice_0.19-33

loaded via a namespace (and not attached):
[1] grid_2.13.1   nlme_3.1-102  stats4_2.13.1
>

Toda ajuda é bem vinda.
Grato.

Walmes.

==========================================================================
Walmes Marques Zeviani
LEG (Laboratório de Estatística e Geoinformação, 25.450418 S, 49.231759 W)
Departamento de Estatística - Universidade Federal do Paraná
fone: (+55) 41 3361 3573
VoIP: (3361 3600) 1053 1173
e-mail: walmes em ufpr.br
twitter: @walmeszeviani
homepage: http://www.leg.ufpr.br/~walmes
linux user number: 531218
==========================================================================
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20110909/a610a7e5/attachment.html>


Mais detalhes sobre a lista de discussão R-br