[Experimental] saveParams() saves a MizerParams object to a file. This can then be restored with readParams().

saveParams(params, file)

readParams(file)

Arguments

params

A MizerParams object

file

The name of the file or a connection where the MizerParams object is saved to or read from.

Details

Issues a warning if the model you are saving relies on some custom functions. Before saving a model you may want to set its metadata with setMetadata().