
Restore a pre-integration rxode2 solver state from a binary file
Source:R/rxSerialize.R
rxLoadState.RdReads a file written by rxSaveState (or via
rxControl(serializeFile=...)) and reconstructs the live solver state
so that ODE integration can proceed from the saved pre-integration
checkpoint.
Arguments
- file
Character(1). Path of a file written by
rxSaveState.
Details
This function is called automatically when rxSolve(mod, "state.rxbin")
detects a serialization file by its magic bytes and validates that the file
matches the supplied model.