michaelhallquist / MplusAutomation

The MplusAutomation package leverages the flexibility of the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, MplusAutomation provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.
86 stars 46 forks source link

Feature Request: Rstudio MPlus development tools #127

Open pdparker opened 4 years ago

pdparker commented 4 years ago

Wondering if it would be worth adding features to MplusAutomation to make it a development tool for Mplus (sort of like the mplus package for sublime text).

From what I can see, custom syntax highlighting and custom auto-completion might not be so easy (might need to use the new RStudio gadgets feature).

But an Rstudio add-in for running an open .inp file and then opening the .out file upon completion would be easy and could be assigned to a hotkey like bkeller2's sublime package. I whipped up something quick to show what I mean https://github.com/pdparker/mplusUtilities

cjvanlissa commented 4 years ago

I love this!

JWiley commented 4 years ago

I like this idea too as it could help many users. I'm an Emacs user myself but happy to help link things in and answer questions where I can.

On Tue, Sep 15, 2020 at 3:00 PM C. J. van Lissa notifications@github.com wrote:

I love this!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/michaelhallquist/MplusAutomation/issues/127#issuecomment-692465082, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACOZHAVCVQWT27IWOJFRC3SF3YILANCNFSM4RMNWY4A .

michaelhallquist commented 4 years ago

I see a lot of value in having some user-friendly hooks that connect Rstudio and Mplus, so I think the syntax highlighting and a run option in the Add-ins menu would be great. If you assemble a pull request for these items, I'll try to review them promptly. At the moment, I have almost no time to develop new features for the package, let alone keep up with existing ones!

Michael

sda030 commented 3 years ago

Just want to draw you attention to the fact that MaksimRudnev offered this earlier, in issue #123 (I mean, out of respect). However, this later proposal offers a more succinct code for running and collecting the files, and broadens the scope into a more interesting direction (syntax highlighting). Also, the template function in #123 is of little interest to seasoned Mplus-users, in my opinion.