% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rxSerialize.R
\name{rxLoadState}
\alias{rxLoadState}
\title{Restore a pre-integration rxode2 solver state from a binary file}
\usage{
rxLoadState(file)
}
\arguments{
\item{file}{Character(1).  Path of a file written by \code{\link{rxSaveState}}.}
}
\value{
Invisibly \code{TRUE}.
}
\description{
Reads a file written by \code{\link{rxSaveState}} (or via
\code{rxControl(serializeFile=...)}) and reconstructs the live solver state
so that ODE integration can proceed from the saved pre-integration
checkpoint.
}
\details{
This function is called automatically when \code{rxSolve(mod, "state.rxbin")}
detects a serialization file by its magic bytes and validates that the file
matches the supplied model.
}
\seealso{
\code{\link{rxSaveState}}
}
\keyword{internal}
