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:
$platform
[1] “x86_64-w64-mingw32”

$arch
[1] "x86_64"

$os
[1] "mingw32"

$system
[1] "x86_64, mingw32"

$status
[1] ""

$major
[1] "4"

$minor
[1] "0.2"

$year
[1] "2020"

$month
[1] "06"

$day
[1] "22"

$`svn rev`
[1] "78730"

$language
[1] "R"

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

$nickname
[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