SPSS Statistics

 View Only
Expand all | Collapse all

Error: SPSS version does not match plugin version (R)

  • 1.  Error: SPSS version does not match plugin version (R)

    Posted Mon February 26, 2024 12:31 PM

    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:

    end program. 

    I get the following error message: 

    Error: package 'spssstatistics' load failed because SPSS version '29.0' does not match plugin version ''

    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


    [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


  • 2.  RE: Error: SPSS version does not match plugin version (R)
    Best Answer

    Posted Tue February 27, 2024 08:47 AM

    Hi @Timmy Karlsson. It sounds like for some reason you have a mix of Statistics version 28 and 29 on your system.

    Please follow this technote to completely uninstall IBM SPS Statistics from your Mac, then reinstall the latest version (29.0.2):



    Curtis Browning
    SPSS Statistics Architect