Programming with the R language
IBM® SPSS® Statistics provides an interface for programming with the R language on Windows®, Linux®, macOS, and for IBM SPSS Statistics Server. Use of the interface requires the IBM SPSS Statistics - Integration Plug-in for R, which is installed by default with your IBM SPSS Statistics product. For help with getting started with the R programming language, see the R Project for Statistical Computing.
R programs
R programs use the interface that is provided by the R SPSS module. R programs operate on the SPSS Statistics processor. R programs control the flow of command syntax jobs, read from and write to the active dataset, create new datasets, and create custom procedures that generate pivot table output.
BEGIN PROGRAM R - END
PROGRAM
blocks. In distributed analysis mode (available with IBM SPSS Statistics Server), R programs run on the computer where IBM SPSS Statistics Server is running.
More information about R programs, including complete documentation of the SPSS Statistics functions and classes available for them, is available in the R Integration Package for IBM SPSS Statistics documentation. The documentation is located under the "Integration Plug-in for R" section in the help system.