I have used Stan for a few years and have been able to install it on past machines with no isuues. I have a new computer and I installed everything new yesterday (Windows, R, Rstudio, and rstan).
Everything seemed to work fine based on the setup instructions but I got error message below when I ran the first example.
It seems there are quite a few users experiencing issues with Windows 10. If anyone experienced the same error below, what was there solution to getting a proper installation? In other words, does anyone have any suggestions on the best approach?
Error in file(con, “r”) : cannot open the connection
In addition: Warning messages:
1: In file.remove(c(unprocessed, processed)) :
cannot remove file ‘C:\Users\szuni\AppData\Local\Temp\Rtmpe04QOB\file534c5d945a2a.stan’, reason ‘No such file or directory’
2: In system(cmd, intern = !verbose) :
running command ‘C:/R-40~1.2/bin/x64/R CMD SHLIB file534c174af0.cpp 2> file534c174af0.cpp.err.txt’ had status 1
3: In file(con, “r”) :
cannot open file ‘file534c174af0.cpp.err.txt’: No such file or directory
Error in sink(type = “output”) : invalid connection