Closed
Description
Is your feature request related to a problem? Please describe.
Posterior samples take up a lot of space, and RDS scales poorly. Without compression, the files get pretty big. With gzfile compression, serialization takes a lot of time.
Describe the solution you'd like
I propose a new qs
-based save method analogous to the current $save_object()
.
Describe alternatives you've considered
If all the data in a CmdStanFit object can be expressed as a collection of data frames, maybe fst
and arrow
could be alternatives, but that would require multiple files per object and thus more bookkeeping.