Synopsis
Restores a ChIPS session from a state file.
Syntax
load_state(filename)
Description
The function arguments.
Argument | Description |
---|---|
filename | The file name to read from. |
The load_state command restores a ChIPS session from a state file that was created using the save_state command. The current session is cleared, then all data and ChIPS settings are restored from the file.
If any part of the undo command history is present in the state file, it is possible to undo those commands in the restored session.
Examples
Example 1
chips> load_state("plot.state")
Load a session from the file plot.state.
Example 2
chips> load_state("/data/chips/plot.chips")
Load a session from the file /data/chips/plot.chips.
Bugs
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.
See Also
- saving
- make_script, save_state