I suddenly started getting a bug after fitting models using rstan. The stan-object is listed as an “Object with null pointer”, and R aborts if I summarise it or launch Shinystan.
I’ve tried saving the stanfit as an RData-file, and opening it in R without Rstudio. Then everything works as it should, and I can launch shinystan on the stanfit. So it seems something is up with Rstudio.
Have anyone else seen/heard of this before? And possibly have some pointers to a solution?