How can I run lme4 with pvals.fnc to compute p value in Mavericks

Everything used to work fine, but now, after i upgraded my Macbook to Mavericks, and R to 3.0.2, I also have to upgrade languageR and lme4 packages, now languageR is 1.4 and lme4 is 1.0.4.

The problem is that I always get this error:

 > pvals.fnc(mod1) the input model is not a mer object NULL 

Someones suggests to use other ways to compute p value (lme4 and languageR compatibility error: "input model is not a mer object”). But I don't only need p value, i also need other parameters that pvals.fnc can return. Someone suggests to downgrade lme4 to ‘0.999999.2’ (LMERConvenienceFunctions error on back and forward fitting functions: model not a mer object), but unfortunately I cannot install ‘0.999999.2’ on Mavericks. It shows the following errors:

installing *source* package ‘lme4’ ... package ‘lme4’ successfully unpacked and MD5 sums checked libs Library/Frameworks/ warning: overriding commands for target `lme4.so' Makevars:7: warning: ignoring old commands for target `lme4.so' llvm-gcc-4.2 -arch x86_64 -std=gnu99 -I/Library/Frameworks/ -DNDEBUG - I/usr/local/include -I"/Library/Frameworks/" -I"/Library/Frameworks/" -fPIC -mtune=core2 -g -O2 -c init.c -o init.o /bin/sh: llvm-gcc-4.2: command not found make: *** [init.o] Error 127 ERROR: compilation failed for package ‘lme4’ removing ‘/Library/Frameworks/ restoring previous ‘/Library/Frameworks/ Warning in install.packages : installation of package ‘/Users/nanli/Downloads/lme4_0.999999-2.tar.gz’ had non-zero exit status 

Anyone has ideas how to solve this problem?

10

Related questions 5 What does this mean in lme4: function 'dataptr' not provided by package 'Rcpp' 3 R: Strange errors using lmList from lme4 53 Extract pvalue from glm Related questions 5 What does this mean in lme4: function 'dataptr' not provided by package 'Rcpp' 3 R: Strange errors using lmList from lme4 53 Extract pvalue from glm 1 Error: ord < 26L is not TRUE 3 How to calculate p-value from a linear mixed effect model created by lme4::lmer() using broom::tidy()? 0 lmerTest::anova not showing p-values 7 R 3.3.2: lme4 + lmerTest problems under Mac OS Sierra 1 lmer p values used to create the stars listed by screenreg 0 'lme' error R "attempt to apply non-function 1 Wrong number of digits in format.pval()? Load 7 more related questions Show fewer related questions

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like