Please read before posting: Help us help you!
Posted on
AdminRobK
Joined: 01/24/2014
Forums
If you are posting to ask for help with installing OpenMx, please understand that it is difficult for anyone to help you out if you don't provide a few key pieces of information! We therefore ask that your post include, at minimum, the following:
- Your operating system and architecture (e.g., "x86_64 Linux").
- The version of R you're running.
- A description of what goes wrong when you attempt installation, including the actual text of any warning or error messages you might encounter.
A simple way of providing #1 and #2 above is to simply include the output of OpenMx's `mxVersion()` in your post.
Thanks in advance!
NPSOL?
2. R version 4.1.3 (2022-03-10)
3. error messages:
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer
> omxGetNPSOL()
Getting OpenMx from http://openmx.ssri.psu.edu/.
You are now installing the latest version of OpenMx, compiled with NPSOL, that is available for R-4
Error in install.packages : Updating loaded packages
Restarting R session...
> install.packages(pkgs = c("OpenMx"), contriburl = contrib.url(repos, type = type), dependencies = NA, verbose = TRUE)
Warning in install.packages :
unable to access index for repository https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-arm64/contrib/4.1:
cannot open URL 'https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES'
Warning in install.packages :
package ‘OpenMx’ is not available as a binary package for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Log in or register to post comments
In reply to NPSOL? by dfinkel
operating system
Log in or register to post comments
In reply to operating system by dfinkel
new platform
You're the first person to ask us about using NPSOL on this new platform. I don't know when we'll have an M1-compatible macOS binary of NPSOL.
Log in or register to post comments
In reply to new platform by AdminRobK
possible solution?
Log in or register to post comments
In reply to possible solution? by dfinkel
Drop the mxOption only
Comment out the
mxOption(NULL, "Default optimizer", "NPSOL")
line(s) from within the miFunctions.R file. Everything else might work then, including starting values.Log in or register to post comments