I am looking to run some stats using OpenMx. The latest version is not compatible with the NPSOL optimizer necessary for my analyses.
I have tried to install the older version of OpenMx and this is the message I get:
Installing package into ‘C:/Users/UserName/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL 'https://openmx.ssri.psu.edu/software/bin/macosx/el-capitan/contrib/3.6/OpenMx_2.17.2.tgz'
Content type 'application/x-gzip' length 35521366 bytes (33.9 MB)
downloaded 33.9 MB
* installing *binary* package 'OpenMx' ...
cp: unknown option -- )
Try '/usr/bin/cp --help' for more information.
ERROR: installing binary package failed
* removing 'C:/Users/UserName/Documents/R/win-library/4.1/OpenMx'
Warning in install.packages :
installation of package ‘C:/Users/UserName/AppData/Local/Temp/RtmpgdqZdQ/downloaded_packages/OpenMx_2.17.2.tgz’ had non-zero exit status
>
I tried to install this both as a package and with the source for source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R') which only re-installs the latest version of OpenMx and sends me back into this endless loop.
Any advice?