Synopsis
Saves the ChIPS session into a state file.
Syntax
save_state(filename)
Description
The function arguments.
Argument | Description |
---|---|
filename | The file name to write to. |
The save_state command saves the current ChIPS session into a platform-independent state file. This output file is not human readable; see the make_script command for an editable set of commands that can re-create the current visualization.
A partial history of the undo command is also saved, but it does not include history cached in a file. This limits which commands may be undone in the restored session.
The save session can be restored with the load_state command.
Examples
Example 1
chips> save_state("chips.state")
Save the session to the file "chips.state". This file can then be loaded using the load_state() command.
Example 2
chips> save_state("/data/chips/plot.chips")
Save the session to 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
- load_state, make_script