Install IBM SPSS Modeler - Essentials for R for UNIX

  1. Start a terminal application.
  2. Change to the directory where you downloaded IBM® SPSS® Modeler - Essentials for R. At the command line, type:

    ./<filename>

    Where <filename> is the name of the file that you downloaded. You must ensure that this file has execute permission before you attempt to run the command.

    Note: You must run the previous command as root, either by logging in as root or (if installing as non-root) by using the sudo command and having write permission to <SPSS Modeler installation directory>/ext/bin and <USER_R_HOME>. In addition, you need to install the gcc and gfortran compilers before you install IBM SPSS Modeler - Essentials for R.
  3. Follow the instructions that are displayed on the screen. When prompted for the location of R, you can obtain the R home directory by running R.home() from the R prompt.
Note: To ensure that SPSS Modeler can launch R successfully, export the library search paths that are required by libR.so to the DLLIBPATH variable in the modelersrv.sh file in the SPSS Modeler Server installation directory. To find all the libR.so libraries that are referenced, use the command ldd /lib/libR.so.