OpenMx Question

Hello! During the workshop, I only used the R available through the workshop. However, now in my R environment, OpenMx is unable to be loaded (but it is installed). I get the following error:

Error: package or namespace load failed for ‘OpenMx’ in dyn.load(file, DLLpath = DLLpath, …):
unable to load shared object ‘/Users/hobbs145/Library/R/x86_64/4.2/library/OpenMx/libs/’:
dlopen(/Users/hobbs145/Library/R/x86_64/4.2/library/OpenMx/libs/, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
Referenced from: /Users/hobbs145/Library/R/x86_64/4.2/library/OpenMx/libs/
Reason: image not found

I am at a loss as for how to get this to load.

Thank you,

That almost looks to me like OpenMx failed to install, or something, so it’s trying to load, but not all of the parts are there. Maybe that is a specific error that somebody more familiar with it will be able to better diagnose.

My generic recommendation is to just try reinstalling it, and see what happens


should get you the CRAN version, without the non-free NPSOL optimizer. That should be good for most things.

If the install gives an error, then we can try and diagnose it from that point.