I just bought a license for MLwiN and was trying to use the new "mlnscript" for OSX in order to use the R2MLwiN package in R.
(as instructed https://www.cmm.bristol.ac.uk/forum/vie ... 2437814b28, I haven't installed the .msi file)
Here is what I ran and the error that I'm unable to debug.
Code: Select all
> library(R2MLwiN) Loading required package: stats4 Loading required package: lattice Loading required package: coda The MLwiN_path option is currently set to /opt/mln/mlnscript To change this use: options(MLwiN_path="<path to MLwiN>") > options(MLwiN_path="/Users/pranav/Documents/Content/MLwin_script/mlnscript") > data(tutorial, package = "R2MLwiN") > mymodel <- runMLwiN(normexam ~ 1 + standlrt + (1 + standlrt | student), + estoptions = list(EstM = 1), data = tutorial) MLwiN is running, please wait...... dyld: Library not loaded: @executable_path/libmln.dylib Referenced from: /Users/pranav/Documents/Content/MLwin_script/mlnscript Reason: image not found Error in read.dta(chainfile[i]) : unable to open file: 'No such file or directory'
How can I make sure the package find the library it needs?