This model used to work before I upgraded (by accident) to rstan 2.21.1 and stanheaders 2.21.0-5. Now it just hangs after printing this message and nothing happens
library(rstan)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
parallel:::setDefaultClusterOptions(setup_strategy = "sequential")
fit <- stan(file='sor1_beta_slopes.stan', data=data,cores=4)
The NEXT version of Stan will not be able to parse your Stan program.
Please open an 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().
Semantic error in 'string', line 2, column 12 to column 13:
Integer literal cannot be larger than 2_147_483_647.
remotes::install_github("stan-dev/rstan", ref = "develop", subdir = "rstan/rstan")
Skipping install of 'rstan' from a github remote, the SHA1 (b683550b) has not changed since last install. Use `force = TRUE` to force installation
I think STAN runs but no progress is shown in the console. I run this simple model and it produces a STAN object as expected. However R doesn’t show warmup, sampling, which chain is running etc.
I think you should still see printouts. Can you try restarting your R session or running something like stan_demo("eight_schools") from a command line R session?
They were supposed to already be there but perhaps there is something preventing them from being seen on a Mac with RStudio. If you specify open_progress = TRUE it might open the text files in a webbrowser, or at least it is supposed to.