rxLoadState: Restore a pre-integration rxode2 solver state from a binary...

View source: R/rxSerialize.R

rxLoadStateR Documentation

Restore a pre-integration rxode2 solver state from a binary file

Description

Reads 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.

Usage

rxLoadState(file)

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.

Value

Invisibly TRUE.

See Also

rxSaveState


rxode2 documentation built on July 28, 2026, 5:08 p.m.