This might be a basic question, but a search on relevant terms did not reveal a discussion. Apologies if I missed anything.
I have estimated a model with rstan, and I would like to save the model fit object to send to a colleague, who wishes to extract posterior samples, calculate WAIC, etc. Formerly, I have saved model fits as an R object (*.robj) file. When I try that with a Stan model, however, attempts to load it into a new R workspace result in an error (“error reading from connection”). It occurs to me that rstan models might be tied to their C++ compiler somehow . . .
How is it possible to save and share rstan fit objects?