Hello, I updated to SPSS version 29 a while back and now I seem unable to run any R extensions. When I run the below code:
BEGIN PROGRAM R.
print(sessionInfo())
end program.
I get the following error message:
Error: package 'spssstatistics' load failed because SPSS version '29.0' does not match plugin version '28.0.0.0'
In addition: Warning messages:
1: In doTryCatch(return(expr), name, parentenv, handler) :
unable to load shared object '/Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/../../Resources/R/lib/R/modules//R_X11.so':
dlopen(/Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/../../Resources/R/lib/R/modules//R_X11.so, 0x0006): Library not loaded: /opt/X11/lib/libSM.6.dylib
Referenced from: <4E38AF15-5F2E-3B1E-9998-CABC7A18056B> /Applications/IBM SPSS Statistics/Resources/R/lib/R/modules/R_X11.so
Reason: tried: '/opt/X11/lib/libSM.6.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/X11/lib/libSM.6.dylib' (no such file), '/opt/X11/lib/libSM.6.dylib' (no such file), '/Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/../
../Resources/R/lib/R/lib/libSM.6.dylib' (no such file)
2: In redirection() : Unable to open connection to X11 display.
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin18.7.0 (64-bit)
Running under: macOS Big Sur 10.16
Matrix products: default
BLAS: /Applications/IBM SPSS Statistics/Resources/R/lib/R/lib/libRblas.dylib
LAPACK: /Applications/IBM SPSS Statistics/Resources/R/lib/R/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/en_US.ISO8859-1/en_US.UTF-8/en_US.ISO8859-1
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] spssstatistics_28.0.0.0
loaded via a namespace (and not attached):
[1] compiler_4.0.5 tools_4.0.5 renv_0.13.2
------------------------------
Timmy
------------------------------