Compile Stan model in Shiny App?

As I have a windows system, I set myself up on the amazon web service and set up RStudio as is described on http://www.louisaslett.com/RStudio_AMI. But, I can’t get Stan to run at all on there.

Any idea why I can’t compile a Stan model on there? I’m trying to use a compiled model to make a shiny app as I don’t think my compiled model on windows seems to be working for it: https://vianey-leosbarajas.shinyapps.io/BayesSIR/
@charlesm93

1 Like

Sorry if this is a silly question, but once all of these steps are complete and the app is deployed from a Linux system using the .rds files for the models with the correct compiler flag, will the app work on shinyapps.io from any computer? i.e. will the person using the app need to follow these steps every time, or will the app “just work” by using the compiled .rds files?