Rtools cygheap碱基错配检测 - 更新Windows
曾使用Rtools为R上V3.3.3和64位Win10一会儿,我突然想在本地安装时,遇到以下错误,即:compile_dll(pkg = "...", quiet = FALSE)
或 load_all(pkg = "...")
任何包通过devtools
:Rtools cygheap碱基错配检测 - 更新Windows
*** fatal error - cygheap base mismatch detected
并在错误输出以下建议:
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
的建议的错误处理没有带来的溶液。有关的图书馆cygwin1.dll
实际上仅作为Rtools的一部分存在(即在Rtools文件夹本身中)。
发现这与最近的Windows更新有关,即2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179)
。在设置/更新和安全/撤消此更新解决了该问题。我仍然想知道这个问题到底是怎么产生的。请注意,Rtools和Cygwin之间还存在其他潜在问题,例如https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/所述的“基本Cygwin库的版本冲突”,但它们似乎与所述问题无关。另外请注意,任何自动Windows 10更新只能在安装后的一个月内撤消。
我没有使用Rtools,但我有同样的问题。卸载最新的Adobe Flash Player更新(尽管它不是完全相同的数字)解决了这个问题(当然在额外的Windows重启之后)。 – Roman
我试图加载cygwin shell时出现了同样的问题,bash – EionRobb
它也与Windows更新有关? – martin
是的,由KB4049179造成的 – EionRobb