it works! I tried out and changed some things, first I made sure that Stata is able to access the "original" wine directory. Even with quotes, blanks obviously created problems, so I changed the folder names.
This is the current mlwin.sh:
Code: Select all
#!/bin/sh
/usr/local/bin/wine mlwin.exe $@
And this is the Stata do-file
Code: Select all
cd /Users/janna/.wine/drive_c/Programme/MLwiN/i386
use http://www.bristol.ac.uk/cmm/media/runmlwin/tutorial, clear
global MLwiN_path /Users/janna/.wine/drive_c/Programme/MLwiN/i386/mlwin.sh
runmlwin normexam cons standlrt, level2(school: cons) level1 ///
(student: cons) nopause
I still can't quite believe that it's actually working, I was already desperate...not sure if I wanna try this with my modified runmlwin.ado that also deals with my plausible values - but for a start this is really great! Thank you very much!