Open pdparker opened 4 years ago
I love this!
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 .
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
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.
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