-
Notifications
You must be signed in to change notification settings - Fork 22
Home
IBM SPSS Statistics - Integration Plug-in for R provides the tools that are required to develop custom R scripts. Starting with IBM SPSS Statistics Subscription and version 25, 26, the application provides the IBM SPSS Statistics R Configuration Extension to assist with the installation of IBM SPSS Statistics - Integration Plug-in for R.
Starting with IBM SPSS Statistics 28, the IBM SPSS Statistics R Configuration Extension is no longer provided because the IBM SPSS Statistics - Integration Plug-in for R is automatically installed with IBM SPSS Statistics.
- Internet access is required for installing the IBM SPSS Statistics R Configuration Extension.
- The IBM SPSS Statistics R Configuration Extension requires a compatible R version.
- If you are configuring the same R installation to work with different SPSS Statistics applications or versions. The last configured SPSS Statistics application or version will take effect.
- Statistics Server user need to install it using Installextbundles script.
The IBM SPSS Statistics R Configuration Extension is designed for the following applications:
- IBM SPSS Statistics for Windows
- IBM SPSS Statistics for Mac OS
- IBM SPSS Statistics for Linux
The IBM SPSS Statistics R Configuration Extension components work with any valid IBM SPSS Statistics license.
If you have not already done so, follow the instructions provided with the IBM SPSS Statistics software and install the application on the same workstation where you will install the IBM SPSS Statistics R Configuration Extension.
The IBM SPSS Statistics R Configuration Extension requires a compatible R version. For example, the STATS R33 CONFIGURATION requires R version 3.3. Install the appropriate R version on the same workstation where you will install the IBM SPSS Statistics R Configuration Extension. The STATS R33 CONFIGURATION works with Statistics version 25 and its fix packs. If you want to use R Plugin with the latest Statistics Subscription and Statistics version 26, you need to install STATS R35 CONFIGURATION. R is available from http://www.r-project.org/.
-
Start the IBM SPSS Statistics client on your workstation, and then open the Extension Hub dialog (located under the “Extensions” menu).

-
Select “STATS R[xx] CONFIGURATION” from the “extensions” list. After installation, the “R[x.x] Configuration” menu item displays under the “Extensions” menu.

-
From the “Extensions” menu in IBM SPSS Statistics, open the “IBM SPSS Statistics R Configuration Extension” dialog and select the R installation location on your workstation.

-
Click OK to execute the selected extension. Alternatively, you can paste extension syntax directly into the IBM SPSS Statistics syntax viewer.
-
IBM SPSS Statistics - Integration Plug-in for R is automatically installed when the extension is run.

For Statistics Server user, you need to install this Extension using Installextbundles script. It is the same way of installing other Extensions.
- Download IBM SPSS Statistics R Configuration Extension from this Github repository
- Using Installextbundles script to install it on your server
C:\Program Files\IBM\SPSS\StatisticsServer\25> Installextbundles.bat -statssrv -download yes -source C:\temp\STATS_R33_CONFIGURATION.spe
- Configuring IBM SPSS Statistics – Integration plug-in for R
C:\Program Files\IBM\SPSS\StatisticsServer\25>statisticsb.exe
STATISTICS>STATS R33 CONFIGURATION R_HOME=“C:\Program Files\R\R-3.3.3”.
You can start developing R immediately after installing IBM SPSS Statistics - Integration Plug-in for R. The IBM SPSS Statistics help system topic “Integration Plug-in for R” provides comprehensive plug-in documentation. The help system tutorials also provide information on working with R.