简体   繁体   English

检测到Rtools cygheap基本不匹配-Windows Update

[英]Rtools cygheap base mismatch detected - Windows update

Having used Rtools for a while on R v3.3.3 and 64bit Win10, I suddenly faced the following error when trying to locally install, ie, compile_dll(pkg = "...", quiet = FALSE) or load_all(pkg = "...") any package via devtools : 在R v3.3.3和64位Win10上使用Rtools一段时间后,在尝试本地安装时突然遇到以下错误,即compile_dll(pkg = "...", quiet = FALSE)load_all(pkg = "...")通过devtools任何软件包:

*** fatal error - cygheap base mismatch detected

and the following suggestion in the error output: 错误输出中的以下建议:

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 of the suggested error handling brought a solution. 建议的错误处理均未带来解决方案。 The concerned library cygwin1.dll was indeed only present as part of Rtools (ie, in the Rtools folder itself). 有关的库cygwin1.dll实际上仅作为Rtools的一部分存在(即,在Rtools文件夹本身中)。

Found that this was related to a recent Windows update, namely the 2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179) . 发现这与最近的Windows更新有关,即2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179) Undoing this update under Settings/Updates and Security/... solved the issue. 取消“设置/更新和安全/ ...”下的此更新解决了该问题。 I would nevertheless like to know how exactly this problem arose. 但是,我想知道这个问题是如何产生的。 Beware that there are other potential issues between Rtools and Cygwin, such as "version collisions of fundamental Cygwin libraries" as described by https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/ , but they were seemingly not related to the described problem. 请注意,Rtools和Cygwin之间还存在其他潜在问题,例如https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/中所述的“基本Cygwin库的版本冲突”,但它们似乎与所描述的问题无关。 Also beware that any automatic Windows 10 updates can only be undone within a month of their installation. 还请注意,任何Windows 10自动更新都只能在安装后一个月内撤消。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM