# OpenMx Question

**URL:** https://isgw-forum.colorado.edu/t/openmx-question/370
**Category:** Day 0 & Tech Support
**Tags:** openmx, r
**Created:** [June 18, 2022, 8:22pm UTC](https://isgw-forum.colorado.edu/t/openmx-question/370 "2022-06-18T20:22:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hobbs145](https://isgw-forum.colorado.edu/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@hobbs145](https://isgw-forum.colorado.edu/u/hobbs145)
#### Post date: [June 18, 2022, 8:22pm UTC](https://isgw-forum.colorado.edu/t/openmx-question/370/1 "2022-06-18T20:22:38Z")

</div>

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:

library(OpenMx)  
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/OpenMx.so’:  
dlopen(/Users/hobbs145/Library/R/x86\_64/4.2/library/OpenMx/libs/OpenMx.so, 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/OpenMx.so  
Reason: image not found

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

Thank you,  
Kelsey

---

<div class="post-metadata">

### Author: ![JML](https://isgw-forum.colorado.edu/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@JML](https://isgw-forum.colorado.edu/u/JML)
#### Post date: [June 20, 2022, 8:53pm UTC](https://isgw-forum.colorado.edu/t/openmx-question/370/2 "2022-06-20T20:53:02Z")

</div>

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

```auto
install.packages("OpenMx")

```

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.
