Hi All,
My runmlwin will only work when I use the nopause command, and MLwiN will quickly open and shut and I am unable to view the equations window.
When I do not use a command without nopause, I receive an error message.
For example:
. runmlwin bmi1 cons, level2(cd2006_1: cons) level1(id:cons)
The model did not run properly in MLwiN. You most likely clicked the 'Abort Macro' button in MLwiN, rather than the 'Resume Macro' button.
r(198);
I would like to view the equations window, and at times abort the macro and continue working in MLwiN. I am using StataSE v13.1 and MLwiN v2.30.
Thank you in advance for your help.
Jerome
Unable to view MLwiN using runmlwin
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: Unable to view MLwiN using runmlwin
I'm not sure why this would be the case as the code run for the two options should be almost identical. Can you confirm that the examples in the -runmlwin- help file also have the same problem with nopause?
Would you be able to add the viewfullmacro option to your command with and without nopause and then post the two versions of the generated MLwiN macro?
Finally, could you issue the following two commands prior to calling -runmlwin-:
and then post the output from Stata?
Would you be able to add the viewfullmacro option to your command with and without nopause and then post the two versions of the generated MLwiN macro?
Finally, could you issue the following two commands prior to calling -runmlwin-:
Code: Select all
set tracedepth 2
set trace on
Re: Unable to view MLwiN using runmlwin
Hi Chris,
I also have this problem when I use ". use "http://www.bristol.ac.uk/cmm/media/runm ... torial.dta", clear"
I have attached the viewfullmacro with nopause, viewfullmacro without nopause, and then I've tried to run the model again after set tracedepth2 and set trace on.
Thank you again for your help.
Jerome
I also have this problem when I use ". use "http://www.bristol.ac.uk/cmm/media/runm ... torial.dta", clear"
I have attached the viewfullmacro with nopause, viewfullmacro without nopause, and then I've tried to run the model again after set tracedepth2 and set trace on.
Thank you again for your help.
Jerome
- Attachments
-
- View full macro - without nopause.docx
- (13.93 KiB) Downloaded 532 times
-
- View full macro - with nopause.docx
- (13.72 KiB) Downloaded 508 times
-
- Trace on and tracedepth2.docx
- (66.32 KiB) Downloaded 557 times
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: Unable to view MLwiN using runmlwin
It looks as if your MLwiN_path global is set to:
which is a command line only script version of the MLwiN engine. If you want to be able to pause the model fit an see the equations window you would instead have to use the following:
Code: Select all
C:\Program Files (x86)\MLwiN v2.30\x64\mlnscript.exe
Code: Select all
C:\Program Files (x86)\MLwiN v2.30\i386\mlwin.exe
Re: Unable to view MLwiN using runmlwin
Thank you Chris. Runmlwin is now working as expected.
Thanks again!
Jerome
Thanks again!
Jerome