检测到 Rtools cygheap 基础不匹配 - Windows 更新

标签 r windows updates

在 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.

建议的错误处理都没有带来解决方案。相关库 cygwin1.dll 确实仅作为 Rtools 的一部分存在(即,在 Rtools 文件夹本身中)。

最佳答案

发现这与最近的 Windows 更新有关,即 适用于基于 x64 的系统的适用于 Windows 10 版本 1703 的 Adob​​e Flash Player 的 2017-10 安全更新 (KB4049179)。在 Settings/Updates and Security/... 下撤消此更新解决了这个问题。尽管如此,我还是想知道这个问题究竟是如何产生的。请注意 Rtools 和 Cygwin 之间存在其他潜在问题,例如 https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/ 中描述的“基本 Cygwin 库的版本冲突” , 但它们似乎与所描述的问题无关。另请注意,任何自动 Windows 10 更新只能在安装后的一个月内撤消。

关于检测到 Rtools cygheap 基础不匹配 - Windows 更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46830325/

相关文章:

r - 分屏(具有不等窗口)在 R 中绘图

r - 使用 'summarise' 的数据帧列的第二(或第三)最大值

来自检查数据表中的行的 RStudio Shiny 列表

java - Groovy 或 Java 上的跨平台提示音

Android IntentService 更新循环

r - 如何在右下角的情节之外定位情节图例

windows - 无法为 "14/1033/styles/Themable/corev4.css"创建缓存安全 URL,找不到文件。请验证该文件是否存在于 layouts 目录下

linux - 如何从 wsl 调用 powershell 来使用语音合成器

Javascript - Windows 应用商店 - 强制强制更新

python-3.x - 使用 iterrow 更新数据框