Closed seabbs closed 6 years ago
Thanks - this would probably make sense as an argument to read_libbi and save_libbi. To avoid creating folders, would you be happy with a split=TRUE
that saves the invididual .rds files (appropriately named) into an existing directory?
Hi Seb,
Again sorry for the multiple issues - feel free to ignore this one as really more of a feature request that may only be useful to me.
I have been using Libbi off and on for a while and been finding that in general RBI is great. However, when it comes to saving and loading bigger models they are often larger than the GitHub max. This in itself is fine but can cause a bit of a workflow issue. To get around this I coded up slightly altered versions of your
save_libbi
andread_libbi
functions that save and load respectively to and from a folder rather than a file. Having done this I have also found that having the models saved as seperate components is quite useful when not working interactively, which is quite often due to some of the long run times.The code for these is below and feel free to update/use etc if useful.
Thanks,
Sam