Will launch_shinystan work soon for cmdstanr?

It seems that cmdstanr runs create a new type of object incompatible with launch_shinystan.

Is there a workaround?

Yeah you’re right that the object isn’t yet directly compatible with launch_shinystan(). I just opened an issue earlier today so that we make sure to implement this for the next shinystan release, but until then you can do

# assuming 'fit' is from CmdStanR
stanfit <- rstan::read_stan_csv(fit$output_files())
launch_shinystan(stanfit)
3 Likes

Cool, thanks!