Missing makevars.win

I hope this is the right forum for my question; if not, I can gladly move it to Github-isues (or StackOverflow?).

I have installed Stan and could succesfully run it on examples. Then I couldn’t and reinstalled everything (even R itself). Now it works again, but I have no idea about why. However, I have stumbled upon the the makevars.win file. The thing is, I don’t seem to have this file. That is, the output I get by executing file.path(Sys.getenv("HOME"), ".R", ifelse(.Platform$OS.type == "windows", "Makevars.win", "Makevars")) in the command line yields a path that definitely does not exist on my computer (and now, I have not forgotten to have hidden folders displayes). When should it have been created? Can that be the cause of my problems? And what can I do about it?

My OS is Windows 10, the output of R.Version() is below.

Output of R.Version:
[1] “x86_64-w64-mingw32”

[1] "x86_64"

[1] "mingw32"

[1] "x86_64, mingw32"

[1] ""

[1] "4"

[1] "0.2"

[1] "2020"

[1] "06"

[1] "22"

$`svn rev`
[1] "78730"

[1] "R"

[1] "R version 4.0.2 (2020-06-22)"

[1] "Taking Off Again"

You don’t need a Makevars.win file for Windows anymore but if you have one with the contents created at

it should be fine.

1 Like