1

过去一切正常,但现在,在我将我的 Macbook 升级到 Mavericks 并将 R 升级到 3.0.2 之后,我还必须升级 languageR 和 lme4 包,现在 languageR 是 1.4,lme4 是 1.0.4。

问题是我总是收到这个错误:

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

有人建议使用其他方法来计算 p 值(lme4 和 languageR 兼容性错误:“输入模型不是 mer 对象”</a>)。但我不仅需要 p 值,还需要 pvals 的其他参数。 fnc可以返回。有人建议将lme4降级为'0.999999.2'(LMERConvenienceFunctions error on back and forwardfitting functions: model not a mer object),但不幸的是我无法在小牛上安装'0.999999.2'。它显示以下错误:

installing *source* package ‘lme4’ ...
package ‘lme4’ successfully unpacked and MD5 sums checked
libs Library/Frameworks/R.framework/Resources/share/make/shlib.mk:6: 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/R.framework/Resources/include -DNDEBUG  -     I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Matrix/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/stats/include"   -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/R.framework/Versions/3.0/Resources/library/lme4’
restoring previous ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library/lme4’
Warning in install.packages :
 installation of package ‘/Users/nanli/Downloads/lme4_0.999999-2.tar.gz’ had non-zero exit status

任何人都知道如何解决这个问题?

4

0 回答 0