I am working on a windows 10 sever and updated r from version 4.0 to 4.0.2. I reinstalled rstan from Cran then installed rstan which installed version 2.21 and I was using version 2.19.3. Now I cant rtun stan at all and get the following message which has never happened to me before.
running the command below always worked fine
fit <- stan(file = “SingleComponentBinding.stan”, data = Dat, pars=c(‘Fmaxe1’,‘EC501’,‘sigma’,‘C_pred’,‘theta1’,‘theta2’), + iter = 4000, warmup=2000, chains = 5, thin=2, seed=82058, cores=5, + control=list(adapt_delta=0.9, max_treedepth=10))
but now I get the following error and have spent hour deleting and reinstalling to no avail.
Version:1.0 StartHTML:0000000107 EndHTML:0000002029 StartFragment:0000000127 EndFragment:0000002011
The NEXT version of Stan will not be able to pre-process your stan program please open issue at
https://github.com/stan-dev/stanc3/issues if you can share or at least describe your Stan program. This will help ensure that Stan continues to work on your Stan programs in the future. Thank you! This message can be avoided by wrapping your function call inside suppressMessages(). cannot remove file ‘C:\Users\johnson.rd.1\AppData\Local\Temp\3\Rtmpikkggv\file20ec4e345171.stan’, reason 'No such file or directory’running command ‘C:/PROGRA~1/R/R-4.0.2/bin/x64/R CMD SHLIB file20ec48d11d2a.cpp 2> file20ec48d11d2a.cpp.err.txt’ had status 1cannot open file ‘file20ec48d11d2a.cpp.err.txt’: No such file or directoryError in file(con, “r”) : cannot open the connection Error in sink(type = “output”) : invalid connection