Error when Configuring RStan C++ toolchain

You’ve run the instructions for the wrong section unfortunately. You didn’t need to reinstall Rtools,just delete the Rprofile file.

Can you run the following commands to delete the files:

unlink("~/.Rprofile")
unlink("~/.R/Makevars.win")

Then restart R and again follow the instructions for R4.0 only

1 Like