加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

检测到Rtools cygheap base mismatch – Windows更新

发布时间:2020-12-14 04:26:21 所属栏目:Windows 来源:网络整理
导读:在R v3.3.3和64位Win10上使用Rtools一段时间后,我在尝试本地安装时突然遇到以下错误,即compile_dll(pkg =“…”,quiet = FALSE)或 load_all(pkg =“…”)通过devtools的任何包: *** fatal error - cygheap base mismatch detected 以及错误输出中的以下建议
在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:cygwinbin,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的Adobe Flash Player 2017-10安全更新(KB4049179).在Settings / Updates和Security / …下撤消此更新解决了该问题.不过,我想知道这个问题到底是怎么出现的.请注意,Rtools和Cygwin之间存在其他潜在问题,例如 https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/所描述的“基本Cygwin库的版本冲突”,但它们似乎与所描述的问题无关.还要注意,任何自动Windows 10更新只能在安装后的一个月内撤消.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读