检测到 Rtools cygheap 碱基不匹配 - Windows 更新
Rtools cygheap base mismatch detected - Windows update
在R v3.3.3和64位Win10上使用了一段时间的Rtools,在尝试本地安装时突然遇到以下错误,即compile_dll(pkg = "...", quiet = FALSE)
或
load_all(pkg = "...")
通过 devtools
:
的任何包裹
*** 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.
None 的建议错误处理带来了解决方案。有关库 cygwin1.dll
确实仅作为 Rtools 的一部分存在(即在 Rtools 文件夹本身中)。
发现这与最近的 Windows 更新有关,即 2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179)
。在 Settings/Updates 和 Security/... 下撤消此更新解决了问题。尽管如此,我还是想知道这个问题究竟是如何产生的。请注意,Rtools 和 Cygwin 之间还有其他潜在问题,例如 https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/ 所描述的 "version collisions of fundamental Cygwin libraries" ,但它们似乎与所描述的问题无关。另请注意,任何自动 Windows 10 更新只能在安装后的一个月内撤消。
在R v3.3.3和64位Win10上使用了一段时间的Rtools,在尝试本地安装时突然遇到以下错误,即compile_dll(pkg = "...", quiet = FALSE)
或
load_all(pkg = "...")
通过 devtools
:
*** 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.
None 的建议错误处理带来了解决方案。有关库 cygwin1.dll
确实仅作为 Rtools 的一部分存在(即在 Rtools 文件夹本身中)。
发现这与最近的 Windows 更新有关,即 2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179)
。在 Settings/Updates 和 Security/... 下撤消此更新解决了问题。尽管如此,我还是想知道这个问题究竟是如何产生的。请注意,Rtools 和 Cygwin 之间还有其他潜在问题,例如 https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/ 所描述的 "version collisions of fundamental Cygwin libraries" ,但它们似乎与所描述的问题无关。另请注意,任何自动 Windows 10 更新只能在安装后的一个月内撤消。