OpenMx
Published on OpenMx (https://openmx.ssri.psu.edu)

Home > Bug with summary.MxModel in saved workspace

19 posts / 0 new
Log in [1] or register [2] to post comments
Last post [3]
Thu, 11/03/2016 - 14:46
#1 [4]
bwiernik's picture
bwiernik [5]
Offline
Joined: 01/30/2014 - 19:39
Bug with summary.MxModel in saved workspace

I'm encountering an annoying bug with the summary.MxModel method.

When I open a saved R workspace that have MxModels saved it and load the OpenMx library, the summary() command doesn't work properly. Instead of running the summary.MxModel method, it just runs the generic summary method, giving something like:

    Length      Class       Mode 
         1 MxRAMModel         S4 

If I first open R, load OpenMx, then load the saved workspace into the environment, summary() works as expected.

Several other people in my lab have also encountered the same issue. I've not had the same problem with other S4 packages (e.g., lme4). Is there something I could do or that can be fixed in the OpenMx code so that the summary call works with saved workspaces? It would make my workflow a lot easier. (It's also been a frequent source of confusion for new users I've worked with.)

Thanks!

Top

Copyright © 2007-2019 The OpenMx Project

Powered by Drupal

Source URL: https://openmx.ssri.psu.edu/thread/4199

Links
[1] https://openmx.ssri.psu.edu/user/login?destination=node/4199%23comment-form
[2] https://openmx.ssri.psu.edu/user/register?destination=node/4199%23comment-form
[3] https://openmx.ssri.psu.edu/thread/4199#comment-8228
[4] https://openmx.ssri.psu.edu/thread/4199
[5] https://openmx.ssri.psu.edu/users/bwiernik