我每天都在使用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并重新启动电脑。
我该如何解决这个问题?
更新: 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] grid_2.15.1
答案 0 :(得分:2)
我现在已经解决了这个问题。
需要将R从2.15.1小幅升级到2.15.2