Make on windows works in Powershell/CMD/with R's system("make -h"), but not in RStudio terminal
Opened this issue · 1 comments
aaronpeikert commented
@hille identified it the root cause of #61 and supplied the following helpful links:
https://community.rstudio.com/t/0-main-cut-17860-c-rtools40-usr-bin-cut-exe-fatal-error-cygheap-base-mismatch-detected-0x180331408-0x180316408/64810/4
rstudio/rstudio#6828
rstudio/rstudio#7493
hille commented
For me, I think I solved the issue by defining a custom shell within RStudio:
Go to Tools, Global Options, Terminal tab, change 'New terminals open with:' to 'Custom', and then put the path to rtools bash.exe (e.g. C:/rtools40/usr/bin/bash.exe)
It did not work for me when using a different bash.exe (e.g. C:\Users\XYZ\AppData\Local\Programs\Git\usr\bin\bash.exe)