Rtools cygheap database inconsistency detected - Windows update

Using Rtools for some time on R v3.3.3 and 64-bit Win10, I unexpectedly encountered the following error when trying to install locally, i.e. compile_dll(pkg = "...", quiet = FALSE)or load_all(pkg = "...")any package through devtools:

*** fatal error - cygheap base mismatch detected

and the following error sentence:

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 proposed errors resulted in a solution. The corresponding library was cygwin1.dllreally present only as part of Rtools (i.e., in the Rtools folder itself).

+4
source share
1 answer

, Windows, 2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179). "/ /..." . , . , Rtools Cygwin , " Cygwin", https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/, -, . , Windows 10 .

+5

Source: https://habr.com/ru/post/1687799/


All Articles