A Thoughtful Saver of Results
Check for the Existence of Results Under a Set of Parameters
Remove Files Based on Hash Table
Combine Results Saved by save_objects with incremental=TRUE
Create a Table of the Parameters for Saved Results from RDS Files
Generate a Consistent Hash for an Argument List
Read Objects Based on Parameter List
Rehash RDS Files in a Directory
Save Simulation Results with Names as Hashes from the Parameters that ...
Monitor result file usage and cleanup unused files
Update File Names Based on New Parameters in Adjusted Hash Table
Helps with the thoughtful saving, reading, and management of result files (using 'rds' files). The core functions take a list of parameters that are used to generate a unique hash to save results under. Then, the same parameter list can be used to read those results back in. This is helpful to avoid clunky file naming when running a large number of simulations. Additionally, helper functions are available for compiling a flat file of parameters of saved results, monitoring result usage, and cleaning up unwanted or unused results. For more information, visit the 'indexr' homepage <https://lharris421.github.io/indexr/>.
Useful links