Help installing RStan on Windows

*********************************** irrelevant, fixed it *****************************

I have R 3.4.1, RStudio-1.0.153, and Rtools34. I’m trying to install rstan on windows according to the instructions at https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Windows
But I it doesn’t seem to work.
When I try to verify that the toolchain works I get fatal error messages like:

"0 [main] make (23356) c:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xB37408/0xBB7408.
… "

What am I doing wrong and how should I fix it?

Thanks
Maayan

@MaayanK: how do you fixed it? Maybe the solution could be useful for other users!
Thanks in advance.

I’m not sure which one fix it but it’s either:

  1. installed RTools33 instead of 34.
  2. Restarting the computer instead of just restarting R.

Thank you @MaayanK!