Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
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, the application provides the IBM SPSS Statistics R Configuration Extension to assist with the installation of IBM SPSS Statistics - Integration Plug-in for R.
- 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.
Installing ibm spss statistics
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.
Downloading and installing R
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, you need to install STATS R35 CONFIGURATION. R is available from http://www.r-project.org/.
Downloading and installing the ibm spss statistics r Configuration extension
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.
Configuring IBM SPSS Statistics – Integration plug-in for R
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.
Install R Plug-in on Statistics Server
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”.
Post installlation notes
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.