You are here

Outputting mxModel

3 posts / 0 new
Last post
pdeboeck's picture
Offline
Joined: 08/04/2009 - 15:55
Outputting mxModel

Is there a function to output an mxModel to a file? I was running a simulation, and rather than extracting a few specific elements, I wanted to save the results from each model fit to a file. I tried dput(). While a file was written, I can not retrieve it using dget(). My ideal would be to be able to save the entirety of mxModel for future reference. Ideas?

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
I think we've successfully

I think we've successfully used save() and load() on a MxModel object.

Steve's picture
Offline
Joined: 07/30/2009 - 14:03
That's

That's correct.

save(mymodel)

will save the model object in its entirety, including any mxData that had been included in it.