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?
I think we've successfully used save() and load() on a MxModel object.
That's correct.
save(mymodel)
will save the model object in its entirety, including any mxData that had been included in it.