- My operating system: macOS Ventura Version 13.2.1
- R version 4.3.0 (2023-4-21): I just updated my R version. I also used the older R version to install it but failed, so I think maybe update R could work...
- Error message:
Warning in install.packages :
unable to access index for repository https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-x86_64/contrib/4.3:
cannot open URL 'https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-x86_64/contrib/4.3/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
Hi, I tried to install the OpenMx with NPSOL. i used: source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R'). I saw there was a solution to this problem in the Forum before that I can build OpenMx from the source repository, but I am not very familiar with the compelling. Is there anything I could do to fix the installation? (I really need the NPSOL optimiser) Thank you!
We didn't have a directory in our repository for R 4.3 before. I just made one. Please try installing OpenMx again, and report back if it doesn't work.
Thank you for your quick response! I cleared the workspace and restarted to try installing again, but it still shows the same error.
Warning in install.packages :
unable to access index for repository https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-x86_64/contrib/4.3:
cannot open URL 'https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-x86_64/contrib/4.3/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
Hi, It's very strange that my colleague also faced the same problem after she erased the OpenMx and installed again. And we both use Mac. This is her version.
> mxVersion()
OpenMx version: 2.21.1 [GIT v2.21.1]
R version: R version 4.2.1 (2022-06-23)
Platform: x86_64-apple-darwin17.0
MacOS: 13.3.1
Default optimizer: NPSOL
NPSOL-enabled?: No
OpenMP-enabled?: No
Her current error:
The downloaded binary packages are in
/var/folders/ts/smyl7nh55637ldjn_yvjby75b76ltc/T//RtmpxTGZ5x/downloaded_packages
> library(OpenMx)
Error: package or namespace load failed for ‘OpenMx’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Users/laura.wesseldijk/Library/R/x86_64/4.2/library/OpenMx/libs/OpenMx.so':
dlopen(/Users/laura.wesseldijk/Library/R/x86_64/4.2/library/OpenMx/libs/OpenMx.so, 0x0006): Library not loaded: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
Referenced from: <57D15468-935F-33AA-A8FE-859B3C044CB2> /Users/laura.wesseldijk/Library/R/x86_64/4.2/library/OpenMx/libs/OpenMx.so
Reason: tried: '/Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib' (no such file), '/usr/local/lib/libRlapack.dylib' (no such file), '/usr/lib/libRlapack.dylib' (no such file, not in dyld cache)
I had the same error message with her before I update My R into 4.3. And I saw there is a given bug in R software website.. My macOS is Ventura, Maybe it has something to do with this?https://ftp.acc.umu.se/mirror/CRAN/
macOS Ventura users: there is a known bug in Ventura preventing installations from some locations without a prompt. If the installation fails, move the downloaded file away from the Downloads folder (e.g., to your home or Desktop)
Thank you for your help! hope we can fix this.
Your colleague is not experiencing the exact problem as you. She is able to download and install OpenMx, but loading the package raises errors. I'm going to have to ask the other developers about this one.
Edit: I think the issue with Ventura you referenced is relevant only to installing R, and not installing R packages.
Give it another try. On our repository server, the path containing 'big-sur-x86_64' should be valid now.
Thank you so much for your help! I am able to install and load the OpenMx now.