2017-10-19 91 views
4

曾使用Rtools爲R上V3.3.3和64位Win10一會兒,我突然想在本地安裝時,遇到以下錯誤,即:compile_dll(pkg = "...", quiet = FALSE)load_all(pkg = "...")任何包通過devtoolsRtools cygheap鹼基錯配檢測 - 更新Windows

*** 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文件夾本身中)。

+0

我試圖加載cygwin shell時出現了同樣的問題,bash – EionRobb

+0

它也與Windows更新有關? – martin

+0

是的,由KB4049179造成的 – EionRobb

回答

5

發現這與最近的Windows更新有關,即2017-10 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4049179)。在設置/更新和安全/撤消此更新解決了該問題。我仍然想知道這個問題到底是怎麼產生的。請注意,Rtools和Cygwin之間還存在其他潛在問題,例如https://www.r-bloggers.com/rtools-and-cygwin-on-ms-windows/所述的「基本Cygwin庫的版本衝突」,但它們似乎與所述問題無關。另外請注意,任何自動Windows 10更新只能在安裝後的一個月內撤消。

+0

我沒有使用Rtools,但我有同樣的問題。卸載最新的Adobe Flash Player更新(儘管它不是完全相同的數字)解決了這個問題(當然在額外的Windows重啓之後)。 – Roman