aaronpeikert/repro

Make on windows works in Powershell/CMD/with R's system("make -h"), but not in RStudio terminal

Opened this issue · 1 comments

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)