【发布时间】:2013-02-04 13:26:18
【问题描述】:
我每天都在使用lme4 有一段时间了。
今天打开R(x64 v 2.15.1)后,抱怨there is no package called ‘lme4’。所以我重新安装了它。
当我运行require(lme4) 时,会生成一个弹出窗口,上面写着Entry Point Not Found. The procedure entry point Rf_copyListMatrix could not be location in the dynamic link library R.dll,单击“确定”后,R 控制台中出现错误消息:
Error: package ‘Matrix’ could not be loaded
所以我重新安装了 Matrix,在运行 require(Matrix) 后,同样的弹出窗口在控制台中生成了这个错误
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/R/R-2.15.1/library/Matrix/libs/x64/Matrix.dll':
LoadLibrary failure: The specified procedure could not be found.
我已尝试重新启动 R 并重新启动 PC。
我该如何解决这个问题?
更新: sessionInfo() 给出以下内容:
R version 2.15.1 (2012-06-22)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lattice_0.20-10
通过命名空间加载(未附加): [1] 网格_2.15.1
【问题讨论】:
-
您是否能够从源代码构建(即,您是否安装了 Rtools)?我可能会尝试安装 Matrix,然后从源代码安装
lme4—— 好像你遇到了某种版本不匹配的事情。sessionInfo()的结果? -
@BenBolker 我已经用
sessionInfo()输出更新了这个问题。我不使用 Rtools.. -
@BenBolker 我还能提供什么让这个问题更容易回答吗?我昨天尝试重新安装 R 并没有问题,直到我退出会话并且下一个会话再次出现同样的问题。
标签: r statistics regression lme4 mixed-models